TIC2000的CMD空间不够用error #10099-D

"../cmd/2837xD_FLASH_CLA_lnk_cpu1.cmd", line 79: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment/blocking fails for section ".cinit" size 0x15epage 0.  Available memory ranges:

   FLASHB       size: 0x2000       unused: 0xe6         max hole: 0xe3

如上报错,发现是FLASHB这款分寸区域分配了太多东西,剩余的空间本来就不太多了。而  .cinit是存储一些全局变量的初始化值,今天又增加了一些变量和代码,导致.cinit大了一些, FLASHB不够装。

 

 

办法就是存储空间扩展,让.cinit除了能放在FLASHB里面还能放在其他地方:

再次编译就没问题了。

 

猜你喜欢

转载自blog.csdn.net/blueoce/article/details/117469224