我想用CCS按照官方给的例程建立一个工程,代码都是从例程复制的,头文件路径和添加的C文件都和例程一样,但是编译老是报错(error #10234-D: unresolved symbols remain),细看错误是找不到串口相关的函数定义,我就搞不懂我的工程和官方的看界面都差不多呀,怎么官方的就能找到函数定义呢?
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.
很抱歉之前漏掉了这个帖子
您需要找出这个变量在例程中是定义在哪个文件下的,而后在您的测试工程内添加该文件的路径
Project->Properties->CCS Build->XXX Compiler->Include Options.
您也可以参考
https://processors.wiki.ti.com/index.php/Include_paths_and_options