<Linking>
"../cmd/2837xD_FLASH_lnk_cpu2.cmd", line 120: warning #10083-D: LOAD placement
ignored for "ramFlash": object is uninitialized
'Finished building target: Aug09_Flash_CPU2.out'
这个Warning 会指到一个cmd 文件如下标红的位置:
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
ramFlash
{ -l F021_API_F2837xD_FPU32.lib}
LOAD = FLASHE,
RUN = RAMGS1, //let RAMGS1 as RAM to store Flash API for CPU2
LOAD_START(_RamFlashLoadStart),
LOAD_SIZE(_RamFlashLoadSize),
LOAD_END(_RamFlashLoadEnd),
RUN_START(_RamFlashRunStart),
RUN_SIZE(_RamFlashRunSize),
RUN_END(_RamFlashRunEnd),
PAGE = 0
我这里原因是:由于有函数被放置在这个段ramFlash, 但没有任何人调用,解决办法就是调用一个放在这个段的函数;
Susan Yang:谢谢分享!