仿真结果报这样的错误
"D:\\study\\study\\ju1\\28335_RAM_lnk.cmd", line 131: error: run placement
fails for object ".ebss", size 0x2760 (page 1). Available ranges:
RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000 "D:\\study\\study\\ju1\\28335_RAM_lnk.cmd", line 125: error: placement fails
for object ".text", size 0x131a (page 0). Available ranges:
RAML1 size: 0x1000 unused: 0xeb7 max hole: 0xeb7 error: errors encountered during linking; "./Debug/ju.out" not built
请多多指教,谢谢!
Eric Ma:
zhongjian,
ebss太小,变量太多,把ebss段对应的memory增大到3000。
同理,.text段对应的RAML1放不了0x131a个单元内容,将对应的memory跟别的段合并。
比如RAML1L2 0x2000
Eric