jsnyder / stm32loader

Python script to load firmware using STM32 bootloader
324 stars 238 forks source link

Addition of run / go feature #3

Open rogerclarkmelbourne opened 10 years ago

rogerclarkmelbourne commented 10 years ago

Hi,

FYI.

I'm using this for a port of Arduino to STM32F1xx hardware.

However I noticed that your script didnt have a run/go feature in its command line, but I also noticed that you had written code to do this, but just didn't have a way to call it

So I've done some very minor changes to add a -g option, which Go/Run's the after upload from the address of the upload

See https://github.com/rogerclarkmelbourne/Arduino_STM32/blob/master/tools/win/stm32loader.py

I guess that perhaps the -g option would be good if the address is optional, but my python skills are not up to doing that (well I'd have to do some research on how to do it etc)

But I think adding the -g option even if it just runs from the upload address is worth including

Thanks

Roger

florisla commented 6 years ago

I think this issue can be closed.

The -g [go_address] option was added in 5a2c9fe and merged in here: https://github.com/jsnyder/stm32loader/pull/1#event-108537299 .