**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

Linker

Creating a link map

To create a linker map file:

Creating a symbolic load map

The objdump ('arm-none-eabi-objdump') utility is used create a load map. This is the information used to load the image into memory. To automatically create a load map every time you do a build:

arm-none-eabi-objdump -h -S ${BuildArtifactFileName} >${BuildArtifactFileBaseName}.lss

Next time you do a build, this will now run and create you a linker map in a file called <projectname>.lss

Additional information

1. Within the pre- and post-build steps, you can enter multiple commands, separated by a ";". For example, to display the size of the target executable and get a link map, enter the following command To enable it, do the following:

arm-none-eabi-size ${BuildArtifactFileName}; arm-none-eabi-objdump -h -S ${BuildArtifactFileName} >${BuildArtifactFileBaseName}.lss

2. To view the objdump documentation: To find the options you can use with objdump, see

Help->Help Contents

Map (last edited 2012-05-22 11:15:36 by CrSupportAb)