diff --git a/Makefile b/Makefile index 6f8f22a..610987b 100644 --- a/Makefile +++ b/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)