personal workaround for st-flash.. should probably fixed sometime (include in PATH?)

new_hw
phail 4 years ago
parent 765f890eaa
commit 2f03f849c8
  1. 2
      Makefile
  2. 1
      st-flash

@ -163,7 +163,7 @@ clean:
-rm -fR .dep $(BUILD_DIR)
flash:
st-flash --reset write $(BUILD_DIR)/$(TARGET).bin 0x8000000
./st-flash --reset write $(BUILD_DIR)/$(TARGET).bin 0x8000000
unlock:
openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c init -c "reset halt" -c "stm32f1x unlock 0"

@ -0,0 +1 @@
../stlink/build/Release/st-flash
Loading…
Cancel
Save