Skip to content

Instantly share code, notes, and snippets.

Embed
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
@pavel-kirienko
Copy link
Author

pavel-kirienko commented Aug 14, 2018

Relevant Dronecode Probe docs: https://kb.zubax.com/x/4YAh

@ubdussamad
Copy link

ubdussamad commented Feb 14, 2021

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