florisla / stm32loader

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

Implement Go command #78

Open andrewteta opened 4 months ago

andrewteta commented 4 months ago

I would like to be able to execute the program after flashing without power cycling the device. I believe this is possible using the "go" command.

florisla commented 4 months ago

The Go command is already implemented internally, it's only the command line options which is missing.

Does it make sense to split this up into two invocations?

stm32loader --write firmware.bin
stm32loader --go 0x08000000
dbeinder commented 4 months ago

I'd prefer if it was possible to add --go as an extra step to a flash call