We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello! please i want to know how keil generate the map file
They simply report detail from the link phase of the project build.
thanks for your reply ! but i know that and i asked how they report that details is there a document or manuel that explain the way it works
You can check this to see how a linker works
en.wikipedia.org/.../Linker_(computing)
If you want to know how to USE the linker, then that is a totally different question and the obvious place to start for KEIL ARM products would be
http://www.keil.com/support/man/docs/armlink/
Hello Ham,
What gets put into a map file is set in the Keil µVision IDE, under Project->Options for Target->"Listing" tab, in the "Linker Listing" Box on the bottom of the dialog.
You can read about the linker list options here
http://www.keil.com/support/man/docs/uv4/uv4_dg_adslst.htm
These settings will populate the linker command line, for example, a default set of linker command line options for the map file would be
--summary_stderr --info summarysizes --map --xref --callgraph --symbols --info sizes --info totals --info unused --info veneers
You can read about what these options do in the Linker User Guide. For example,
www.keil.com/.../armlink_pge1362075490033.htm
If you are using ARM Compiler 6, you can read about linker options here:
www.keil.com/.../armclang_link_pge1362075490033.htm
http://www.keil.com/support/docs/3711.htm
====
If you are not using the IDE, from command line, when calling the linker make sure to include --map in the linker command string. See:
www.keil.com/.../armlink_pge1362075524125.htm