how to enable the Linker MAP file generation in Keil?

馋奶兔 提交于 2019-12-13 08:17:30

问题


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


回答1:


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

Also useful:

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.



来源:https://stackoverflow.com/questions/51190256/how-to-enable-the-linker-map-file-generation-in-keil

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!