aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f2/Makefile.include
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f2/Makefile.include')
-rw-r--r--examples/stm32/f2/Makefile.include4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32/f2/Makefile.include b/examples/stm32/f2/Makefile.include
index aa9a159..0345298 100644
--- a/examples/stm32/f2/Makefile.include
+++ b/examples/stm32/f2/Makefile.include
@@ -106,7 +106,7 @@ ifeq ($(OOCD_SERIAL),)
$(Q)$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \
-f board/$(OOCD_BOARD).cfg \
-c "init" -c "reset init" \
- -c "stm32x mass_erase 0" \
+ -c "stm32f2x mass_erase 0" \
-c "flash write_image $(*).hex" \
-c "reset" \
-c "shutdown" $(NULL)
@@ -118,7 +118,7 @@ else
-f board/$(OOCD_BOARD).cfg \
-c "ft2232_serial $(OOCD_SERIAL)" \
-c "init" -c "reset init" \
- -c "stm32x mass_erase 0" \
+ -c "stm32f2x mass_erase 0" \
-c "flash write_image $(*).hex" \
-c "reset" \
-c "shutdown" $(NULL)