diff --git a/README.md b/README.md index 176b89f..76c8a90 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,12 @@ Or use the Windows ST-Link utility. Then you can simply flash the firmware: ``` 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" + ``` ---