如何在 Keil 中启用 Linker MAP 文件生成? [英] how to enable the Linker MAP file generation in Keil?

查看:24
本文介绍了如何在 Keil 中启用 Linker MAP 文件生成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆