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.

[参考译文] MSPM0C1104:如何检查代码大小。

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1600544/mspm0c1104-how-to-check-code-size

器件型号: MSPM0C1104

请告诉我们如何在编译后检查代码大小!它是.hex 还是.bin 文件

 

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

    尊敬的 Seema:

    您可以观察生成的.map 文件以确定使用了多少存储器。

    您还可以手动对 TI-TXT 格式的十六进制文件中的字节数进行计数。

    此外、如果您使用 CCS v20、则可以按如下方式在构建时查看存储器分配:

    1. 构建工程
    2. 在左上角、导航至 View > Memory Allocation
    3. 您现在应该能够看到如下窗口、其中显示了 Memory Allocation:

    此致、

    Owen

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

    谢谢!