您好!
我在看STK_SRIO的例程,
目录Demo/STK/common/KeyStone_common.h
第1070行 return DNUM;
我想知道DNUM是在哪里定义的?我这里看不到,点击DNUM,CCS不能跳转到定义处。
static inline Uint32 KeyStone_Get_DSP_Number()
{
TDSP_Board_Type DSP_Board_Type= KeyStone_Get_dsp_board_type();
printf("DSP_Board_Type:%d, DNUM=%d\n", DSP_Board_Type, DNUM);
if(DUAL_NYQUIST_EVM==DSP_Board_Type)
{
/*Nyquist EVM use boot configure pin 4 and 5 to identify DSPs*/
return (( gpBootCfgRegs->BOOT_REG0 >> (3+1) ) & 0x03);
}
/*if use DNUM to differentiate DSPs for two DSPs test,
the program must be run on core 0 of DSP 0 and core 1 of DSP1*/
return DNUM;
}请您一起看看这个问题。谢谢。