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.
新建TMS320F28034工程时,添加F28034.cmd文件后,会报如图中所示的错误,将该文件屏蔽后,编译又是正常的。请问这是什么原因导致的?
不存在这种差异的。我觉得是有一些其它细节的地方你没有注意到。
类似F2803x这种稍微老一点的、没有driverlib的器件,一个工程内会包含两个cmd文件。
一个就是这里讨论的,用于内存分配,在C2000ware中的路径为:
C:\ti\c2000\C2000Ware_5_00_00_00\device_support\f2803x\common\cmd
另一个用于给 在头文件中定义的寄存器及外设寄存器做地址映射,路径为:
C:\ti\c2000\C2000Ware_5_00_00_00\device_support\f2803x\headers\cmd