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.
工具/软件:Code Composer Studio
为什么 会出现此错误? zh-CN
../lnk_msp430g2553.cmd",第138行:错误#1.0099万-D:程序将不适合可用内存。对".reset"区域大小0x4进行定位失败。 可用内存范围:
重置大小:0x2未使用:0x2最大孔:0x2
NMI :{*(.INT14)}> INT14类型= VECT_INIT
.reset:{}> reset /* MSP430 Reset vector */
这是一个只包含汇编代码的项目吗? 如果是这样,则在CCS中创建项目时,应从“空仅程序集项目”模板开始,以便为仅程序集项目正确设置链接器运行时初始化模型和入口点。 这也将解决此错误。
如果这不是仅用于装配的项目,请提供重现错误的示例项目。