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
您好!
这是 Harish、我正在使用 cc2640r2f 控制器
编译时经常遇到内存大小问题
错误:链接问题期间遇到错误。
内存中的段分配 错误: .cinit : > FLASH | FLASH_LAST_PAGE 我在此处遇到错误
请解决此问题
请查看以下附件
此处描述了此错误的一般说明:
https://software-dl.ti.com/ccs/esd/documents/sdto_ccs_build-errors.html#error-placement-fails-for-section-xxx-
本质上、为应用生成的.cinit 段大于 FLASH 或 FLASH_LAST_PAGE 区域中可用的存储器。 您需要调整段分配或减小.cinit 段大小(通过减少初始化的全局变量的数量)、以使其适合可用存储器。
本页是有关用于分配段的编译器段和链接器命令文件语法的良好入门读物。 它将帮助您了解编写 cc26xx_app.cmd 的目的以及如何对其进行调整。
https://software-dl.ti.com/ccs/esd/documents/sdto_cgt_Linker-Command-File-Primer.html