This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

linker option --map

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

Parents
  • 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

Reply
  • 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

Children
No data