Closed jj-uk closed 3 years ago
You can install the module with pip install stm32loader
.
Next, simply execute 'stm32loader' as an executable.
If you're running from the git folder:
git clone https://github.com/florisla/stm32loader.git
cd stm32loader
python -m stm32loader -p /dev/tty.SLAB_USBtoUART -e -w -v ~/mbp/blackmagic/src/blackmagic_dfu.bin
python stm32loader/main.py -p /dev/tty.SLAB_USBtoUART -e -w -v ~/mbp/blackmagic/src/blackmagic_dfu.bin
Closing in favor of #52.
What't the correct way to use this code? I'm getting a module not found error: