use DFU an main flashung method
This commit is contained in:
parent
9c19273ecd
commit
f5b86efdb4
2
Makefile
2
Makefile
|
@ -164,7 +164,7 @@ bootloader: $(BOOTLOADER)
|
|||
$(info flashing USB DFU bootloader $(<))
|
||||
$(Q)$(OOCD) --file interface/$(OOCD_INTERFACE).cfg --file target/$(OOCD_TARGET).cfg --command "init" --command "reset init" --command "flash write_image erase $(<) 0x08000000" --command "reset" --command "shutdown" $(NULL)
|
||||
|
||||
flash: flash-swd
|
||||
flash: flash-dfu
|
||||
|
||||
flash-swd: $(BINARY).hex
|
||||
$(info flashing $(<) using SWD)
|
||||
|
|
Loading…
Reference in New Issue