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.

[参考译文] AM2432:如果所有段都映射到 DDR、如何减小*.out 文件大小?

Guru**** 2391415 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1518432/am2432-how-can-i-reduce-the-out-file-size-if-all-sections-are-mapped-to-ddr

器件型号:AM2432

工具/软件:

您好、

我写了一个应用程序,所有的部分都在 DDR 中(除了 TCM 中的 IVT )

编译和链接后,我得到 hs_fs ~ 900K 的大小,但*。out (调试器)的大小是86M !

也许它是零填充。

当我把段.text 在 MSRAM 它变成12M -这是合理的,但在这个核心-1我没有 MSRAM 在所有。

 如果所有文件都映射到 DDR、如何减小输出文件大小?

谢谢、

Eli

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

    您好、

    我省略了所有.text >DDR 和.data >DDR...来解决问题 等等

    省略时、链接器不会填充零。

    谢谢、

    Eli

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

    感谢 Eli 让我们知道

    Paula