This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to get a break down of code size.

Hi

I would like to be able to get a break down of the code usage rom/ram for all the objects in my build. I thought I would be able to do this with the cg_xml tools but I only seam to be able to get a report on the sections.

The information is available from the map file but it is not in a usable format.

Are there any options to the linker that I can use to group the information?

Any suggestions?

Anyone got any scripts that process the map file that they are willing to share?

 

Cheers

Anyd

 

  • The cg_xml package also includes some scripts that work on the XML form of the linker map file. These scripts are in the \map directory of the cg_xml installation.  There is no script which does what you describe.  But someone with modest Perl skills could use lib_footprint.pl as a starting point for such a script.

    Thanks and regards,

    -George