按照《TMS320F28377开发例程使用手册》2.1节操作(只是把单核对应的文件修改为双核的文件),编辑了main.c,Build Project, 弹出
29个Error,其中第1个为:"You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate." 应该是来源于 F2837xD_device.h中的
#if (!defined(CPU1) && !defined(CPU2))
#error "You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
#endif
解决了要求define cpu的问题,但是出来很多警告:
“<Linking>
warning #10247-D: creating output section ".text" without a SECTIONS specification
warning #10247-D: creating output section ".cinit" without a SECTIONS specification
warning #10247-D: creating output section "codestart" without a SECTIONS specification
......
”
并且debug的时候显示
“Break at address "0x3fe493" with no debug information available, or outside of program code.”