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.

cfg文件中创建信号量显示未定义



TI工程师你好,我在ndk的helloworld例程中静态创建了一个信号量,如图所示,

而当我在程序中调用这个sem0时,编译结果会提示我sem0是为定义的,然而我已经在上图的cfg文件中定义了它,很费解。

不过这种情况只在ndk的例程中发生,我尝试了,在不含ndk的bios的demo中,使用cfg文件定义是可行的。

我使用的是ccs5.5 ndk2.21.01.38 bios6.35 xdc3.25。

希望能够得到您的回复,谢谢~