Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道我在微控制器(皮质 M4)上使用了多少数据存储器和多少程序存储器?
我正在使用 texas Instruments 的代码作曲家工作室。
链接器命令文件 (.cmd) 告诉您不同部分(.text、.ebss 等)链接到哪些内存块。节的类型(程序或数据)也在链接器命令文件中定义。
然后,您可以从 .map 文件中查看这些块使用了多少内存。