如何在 Keil 中启用 Linker MAP 文件生成? [英] how to enable the Linker MAP file generation in Keil?
问题描述
如何在Keil MDK-ARM中启用Linker MAP文件的生成,在 IAR Embedded Workbench 中,我使用以下步骤选项 > 链接器 > 列表 > 选中生成链接器映射文件.我尝试在 Keil,MDK-ARM 上使用相同的步骤,但没有用,任何帮助将不胜感激
how to enable the generation of the Linker MAP file in Keil MDK-ARM ,in IAR Embedded Workbench i use the following steps Options > Linker > List > check Generate linker map file. I tried to use the same steps at Keil,MDK-ARM, but it didn't work, any help will be appreciated
推荐答案
Project->Options for Target target name...->Listing Tab->Linker Listing 复选框强>,根据需要选择子选项.
Project->Options for Target target name...->Listing Tab->Linker Listing check box, select sub options as necessary.
也很有用:
在Project->Options for Target target name...->Linker Tab->Misc Control,添加以下内容:
In Project->Options for Target target name...->Linker Tab->Misc Control, add the following:
--info=summarystack --info=stack
然后在map文件中会包含各种栈使用分析.
Then all sorts of stack usage analysis will be included in the map file.
这篇关于如何在 Keil 中启用 Linker MAP 文件生成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!