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

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

问题描述

如何在Keil MDK-ARM中启用链接器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->目标目标名称 ...->列表"选项卡->链接器列表"复选框,请根据需要选择子选项.

Project->Options for Target target name...->Listing Tab->Linker Listing check box, select sub options as necessary.

也有用:

项目->目标目标名称 ...->链接器选项卡->其他控件的选项中,添加以下内容:

In Project->Options for Target target name...->Linker Tab->Misc Control, add the following:

--info=summarystack --info=stack

然后,各种堆栈使用情况分析将包含在映射文件中.

Then all sorts of stack usage analysis will be included in the map file.

这篇关于如何在Keil中启用Linker MAP文件生成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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