aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/mb525/fancyblink/Makefile2
-rw-r--r--examples/mb525/pwmleds/Makefile2
-rw-r--r--examples/mb525/pwmleds/README2
-rw-r--r--examples/stm32-h103/fancyblink/Makefile2
-rw-r--r--examples/stm32-h103/miniblink/Makefile2
-rw-r--r--examples/stm32-h103/usart/Makefile2
6 files changed, 6 insertions, 6 deletions
diff --git a/examples/mb525/fancyblink/Makefile b/examples/mb525/fancyblink/Makefile
index 57a1033..ae68552 100644
--- a/examples/mb525/fancyblink/Makefile
+++ b/examples/mb525/fancyblink/Makefile
@@ -88,7 +88,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/mb525/pwmleds/Makefile b/examples/mb525/pwmleds/Makefile
index 0505f13..ee3e8eb 100644
--- a/examples/mb525/pwmleds/Makefile
+++ b/examples/mb525/pwmleds/Makefile
@@ -88,7 +88,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/mb525/pwmleds/README b/examples/mb525/pwmleds/README
index 08cc36b..c15b562 100644
--- a/examples/mb525/pwmleds/README
+++ b/examples/mb525/pwmleds/README
@@ -39,7 +39,7 @@ Or you can do the same manually via:
$ openocd -f interface/jlink.cfg -f board/olimex_stm32_h103.cfg
$ telnet localhost 4444
> reset halt
- > flash write_image erase pwmleds.bin
+ > flash write_image erase pwmleds.hex
> reset
Replace the "jlink.cfg" with whatever JTAG device you are using, and/or
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)