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
Why are you giving hello.o after -o? The compiler flag -o should be followed by output executable name. Just remove .o and it should work. You can try giving hello instead. Hope it resolves your problem