"./lnk.cmd", line 48: error #10099-D: program will not fit into availablememory. placement with alignment fails for section ".text" size 0x2b12 .Available memory ranges:FLASHsize: 0x1000unused: 0xe56max hole: 0xe56
"../lnk_msp430fr5730.cmd", line 130: error #10099-D: program will not fit into available memory. placement with alignment fails for section "ALL_FRAM" size 0x1739 . Available memory ranges:
FRAM size: 0xf80 unused: 0xf80 max hole: 0xf80error #10010: errors encountered during linking; "MSP430FR5730.out" not built
HG:
FR5730的FRAMsize只有4K,也就是0x1000,你的代码是0x2b12 ,超过容量了,导致编译错误,你可以用FR5739
HG:
回复 jianwang ding:
编译的时候选了器件了啊,这样linker文件里面就有Sector的信息和边界了,如果你的代码多于这个size,就会报错的
灰小子:
回复 HG:
晕,点回复点错了地方。
楼上说的对,这个即使没连接硬件,也会有提示的。ccs带有每个mcu的存储信息,编译的时候会判断出来