This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP430FR2000:/lnk_msp430fr2000.cmd",第132行:错误#1.0099万-D:程序将不适合可用内存

Guru**** 1133870 points
Other Parts Discussed in Thread: MSP430FR2000
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1101835/msp430fr2000-lnk_msp430fr2000-cmd-line-132-error-10099-d-program-will-not-fit-into-available-memory

部件号:MSP430FR2000

大家好,

我在CCS上构建项目时遇到以下错误。 请帮我解决此错误。

我已经完成了所有的优化,但我的代码只能在前两个优化级别工作,因为其他级别的代码停止工作。

"../lnk_msp430fr2000.cmd",第132行:错误#1.0099万-D:程序将不适合可用内存,或者部分包含需要trampoline的调用站点,但无法为此部分生成trampoline。对"all_FRAM"大小0x182的部分进行定位失败。 可用内存范围:
说明#1.0372万-D:(ULP 4.1)在此项目中检测到未初始化的端口2。 建议初始化所有未使用的端口,以消除未使用的引脚上浪费的电流消耗。
FRAM大小:0x180未使用:0x180最大孔:0x180