Hi all,
We generally get executable and linkable file(ELF) to program Microcontrollers. I wanted to generate MAP file using this elf file to observe various sections of memory. How is it possible using toolchain arm-none-eabi toolchain?
So far I have done something like:
arm-none-eabi-gcc.exe -Xlinker -Map=out.map program.elf
to get some linker script and memory map
but it is not an exact map file
any suggestions?
best,
Fahad
Hi,
I needed the memory regions occupied by my code. I got it by giving -map=out.map to the compiler in my make file
thanks