use DFU an main flashung method

This commit is contained in:
King Kévin 2016-01-29 00:36:56 +01:00
parent 9c19273ecd
commit f5b86efdb4
1 changed files with 1 additions and 1 deletions

View File

@ -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)