Hi,
I can't generate image memory map file through linker --map flag.I'm using the "Arm Linker"->"Additional Information" page to set the --map linker flag, however no memory map file is created after linkage stage.Thanks,Ronen
Hi Ronen,
It would be output to the file you specified with --list. However the $(ProjName) variable is not passed through in this manner (see the fully output command line in the Build Console). I see something like:
--map --list=".lst"
If you hard code the name as (say) ronen.lst, do you see it output? If you specify no file here, it will be output in the build console.
Hi Ronan,
Well it seems like the $(ProjName) variable is do working.After linkage stage I'm getting list file by the project name itself.Thanks,Ronen
Pre-Keil, after a successful build a couple of "gauges" would display showing how much program and data space was used. I don't see that sort of thing after a Keil build. I moved an MBED project to Keil and am getting successful builds, executions, etc. So guess you could say I'm using defaults and am not familiar with things like Arm Linker, or its map flag. Can you point me to documentation? Thanks!
Hello,
A Keil build should output a basic report when built, something like:
Program Size: Code=9608 RO-data=1108 RW-data=12 ZI-data=1892
You can also generate this by setting in the 'Listing' tab of the project properties:
============================================================================== Code (inc. data) RO Data RW Data ZI Data Debug 9608 464 1108 12 1892 8439 Grand Totals 9608 464 1108 12 1892 8439 ELF Image Totals 9608 464 1108 12 0 0 ROM Totals ============================================================================== Total RO Size (Code + RO Data) 10716 ( 10.46kB) Total RW Size (RW Data + ZI Data) 1904 ( 1.86kB) Total ROM Size (Code + RO Data + RW Data) 10728 ( 10.48kB) ==============================================================================
You can also generate this from the final image with:
fromelf -z image.axf