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.

[参考译文] CCS/TMS320F28379D:Linker#39;s -heap 选项与.heap (.esysmem)链接器命令文件段之间的关系?

Guru**** 2540720 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/623992/ccs-tms320f28379d-relationship-between-the-linker-s--heap-option-and-the-heap-esysmem-linker-command-file-section

器件型号:TMS320F28379D

工具/软件:Code Composer Studio

链接器 的-heap 选项和.heap (.esysmem)链接器命令文件段是否相互关联?

它们似乎应该彼此相等、或者 .heap (.esysmem)链接器命令段应该>=链接器的-heap 选项。

此外、如果在链接器命令文件中未创建.heap 段但设置了-heap 选项、会发生什么情况?  链接器是否会自动分配.heap 段以适应-heap 选项中指定的量?

好的、

Graham