This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好,问下在这个主程序里InitPieCtrl()为什么找不到我要写的void InitPieCtrl()函数,而是链接到了头文件中的 extern void InitPieCtrl(void);如图;;谢谢!
能编译通过吗 编译通过后再试试呢
函数不在同一个sourse下是吧
函数的定义 void InitPieCtrl(void) 在文件 DSP2833x_PieCtrl.c 中,而外部声明 extern void InitPieCtrl(void); 在文件 DSP2833x_GlobalPrototypes.h 中,它被 DSP2833x_Examples.h 所包含了,你调用InitPieCtrl()函数的文件中调用了DSP2833x_Examples.h的话,应该是可以链接到文件的定义处的