Consistently use the hex file for flashing.
This commit is contained in:
parent
8faf33275a
commit
d8eb8ce746
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue