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.
您好!
我正在阅读 此 http://www.ti.com/lit/an/slaa368a/slaa368a.pdf 文档、并注意到在第4节"代码大小"中、TI 制作了一个以字节为单位的代码大小的表。
我想知道如何在 CCS 中测量这一点? 我有用于不同模块的.c 和.h 文件。 我使用的是 MSP430F2272微控制器。
我不知道如何为该特定文档确定代码大小。
他们可能使用了链接器映射文件。 当您使用-map_file=filename 选项时、链接器会生成此文件。 在 CCS 工程中、该文件通常名为 name_of _project.map。 它是使用您在 C 或 C++源文件中使用的同一编辑器查看的文本文件。
他们可能使用 了 CG_xml 包中的实用程序 secti。
谢谢、此致、
乔治