From f5b86efdb41e13424b672eeb8628ca437eed3705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Fri, 29 Jan 2016 00:36:56 +0100 Subject: [PATCH] use DFU an main flashung method --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)