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/MSP430FR2111:如何准确评估代码大小?

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/748957/ccs-msp430fr2111-how-to-accurately-assess-code-size

器件型号:MSP430FR2111

工具/软件:Code Composer Studio

我有一位客户正在 CCS 8中优化他们的代码。

在查看.map 和.lst 文件时、似乎在函数大小方面存在一些差异。

在 CCS 中查看函数列表及其各自大小的最佳方法是什么?

谢谢。

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

    在.map 文件中有一些有关常规代码大小的好信息、但是为了查看内存分配的详细细分、您需要转到"View"->"Memory Allocation"。 构建项目后、"Memory Allocation"选项卡将向您展示您在较高层面上使用的器件存储器的大小。 如果使用下拉箭头、您可以在.text 段中进行更详细的介绍、例如、了解每个函数占用的存储空间。 希望这能帮助客户优化内存!

    此致、

    Matt Calvo