Skip to content

Instantly share code, notes, and snippets.

Last active February 22, 2023 03:05
What would you like to do?
Converting flat binary into ARM ELF format, useful for firmware uploading via GDB
# The part .data=0x08000000 should be replaced with the correct base offset of the ROM.
# The value 0x08000000 is valid for STM32.
arm-none-eabi-objcopy -I binary -O elf32-little --change-section-address .data=0x08000000 input.bin output.elf
Copy link

Thankyou, I was loking for this, saved me sme time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment