aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f84d6c8..2dfcd45 100644
--- a/Makefile
+++ b/Makefile
@@ -160,6 +160,11 @@ $(BUILD_PATH)/main.bin: $(BUILD_PATH)/$(PROJECT).out
install: $(BUILD_PATH)/main.bin
openocd -f stm32conf/flash.cfg
+program:
+ dfu-util -a0 -d 0110:1001 -D build/main.bin -R
+programFlash:
+ dfu-util -a1 -d 0110:1001 -D build/main.bin -R
+
run: $(BUILD_PATH)/main.bin
openocd -f stm32conf/run.cfg