aboutsummaryrefslogtreecommitdiff
path: root/examples/mb525/pwmleds
diff options
context:
space:
mode:
authorUwe Hermann2010-03-05 23:30:26 +0100
committerUwe Hermann2010-03-05 23:30:26 +0100
commitd8eb8ce746e36e385c02b419594a25d3047695ec (patch)
treec762fc8791fb1b5283f155ff44638c61612a704f /examples/mb525/pwmleds
parent8faf33275a3e0da78aa52164b39192ae2a06b360 (diff)
Consistently use the hex file for flashing.
Diffstat (limited to 'examples/mb525/pwmleds')
-rw-r--r--examples/mb525/pwmleds/Makefile2
-rw-r--r--examples/mb525/pwmleds/README2
2 files changed, 2 insertions, 2 deletions
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