Last active
January 24, 2024 19:19
-
-
Save pavel-kirienko/6835194423df07f6160af19f7ea33a4d to your computer and use it in GitHub Desktop.
Converting flat binary into ARM ELF format, useful for firmware uploading via GDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
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
Relevant Dronecode Probe docs: https://kb.zubax.com/x/4YAh