aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32-h103
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32-h103')
-rw-r--r--examples/stm32-h103/fancyblink/Makefile2
-rw-r--r--examples/stm32-h103/miniblink/Makefile2
-rw-r--r--examples/stm32-h103/usart/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32-h103/fancyblink/Makefile b/examples/stm32-h103/fancyblink/Makefile
index 0d19fda..06d821e 100644
--- a/examples/stm32-h103/fancyblink/Makefile
+++ b/examples/stm32-h103/fancyblink/Makefile
@@ -87,7 +87,7 @@ flash: images
-f $(OPENOCD_FLASHER) \
-f $(OPENOCD_BOARD) \
-c "init" -c "reset halt" \
- -c "flash write_image erase $(BINARY).bin 0x08000000" \
+ -c "flash write_image erase $(BINARY).hex" \
-c "reset" \
-c "shutdown" $(NULL)
diff --git a/examples/stm32-h103/miniblink/Makefile b/examples/stm32-h103/miniblink/Makefile
index db85a8c..fa729ae 100644
--- a/examples/stm32-h103/miniblink/Makefile
+++ b/examples/stm32-h103/miniblink/Makefile
@@ -87,7 +87,7 @@ flash: images
-f $(OPENOCD_FLASHER) \
-f $(OPENOCD_BOARD) \
-c "init" -c "reset halt" \
- -c "flash write_image erase $(BINARY).bin 0x08000000" \
+ -c "flash write_image erase $(BINARY).hex" \
-c "reset" \
-c "shutdown" $(NULL)
diff --git a/examples/stm32-h103/usart/Makefile b/examples/stm32-h103/usart/Makefile
index 432446d..193be89 100644
--- a/examples/stm32-h103/usart/Makefile
+++ b/examples/stm32-h103/usart/Makefile
@@ -87,7 +87,7 @@ flash: images
-f $(OPENOCD_FLASHER) \
-f $(OPENOCD_BOARD) \
-c "init" -c "reset halt" \
- -c "flash write_image erase $(BINARY).bin 0x08000000" \
+ -c "flash write_image erase $(BINARY).hex" \
-c "reset" \
-c "shutdown" $(NULL)