Update README.md

This commit is contained in:
Jan Henrik 2019-03-29 08:59:27 +01:00 committed by GitHub
parent 6d6c3c8a43
commit f0fc144e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,12 @@ Or use the Windows ST-Link utility.
Then you can simply flash the firmware: Then you can simply flash the firmware:
``` ```
st-flash --reset write build/hover.bin 0x8000000 st-flash --reset write build/hover.bin 0x8000000
```
or
```
openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c flash "write_image erase /path/to/my_firmware.img 0x8000000"
``` ```
--- ---