florisla / stm32loader

Flash firmware to STM32 microcontrollers using Python.
GNU General Public License v3.0
109 stars 53 forks source link

Support writing / reading hex files #39

Closed florisla closed 1 year ago

florisla commented 4 years ago

Would prevent mixups like happened in #31.

michsens commented 4 years ago

For this purpose I use:

python3 /usr/bin/hex2bin.py "$hexToFlash" "$hexToFlash"".bin"

in a shell script. It should be possible to integrate it directly into the stm32loader.

florisla commented 2 years ago

@michsens is that hex2bin.py from this project? https://python-intelhex.readthedocs.io/en/stable/

g2pmas commented 2 years ago

Hello. I use this: arm-none-eabi-objcopy -I ihex --output-target=binary code00.hex code00.bin

florisla commented 1 year ago

Support for hex files has landed in master.