1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

build: add a target for flashing via st-flash.

This makes developing against Discovery boards easier.

Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
Michael Hope 2015-07-19 15:52:15 +02:00
parent 7af3d57606
commit f792ffa2e6

View file

@ -658,6 +658,11 @@ flash_$(TARGET): $(TARGET_HEX)
flash: flash_$(TARGET)
st-flash_$(TARGET): $(TARGET_BIN)
st-flash --reset write $< 0x08000000
st-flash: st-flash_$(TARGET)
binary: $(TARGET_BIN)
unbrick_$(TARGET): $(TARGET_HEX)