Add possibility to override the command to execute when flashing

This commit is contained in:
Fred Sundvik 2017-04-29 23:45:27 +03:00
parent 26bbfd7812
commit 18b4d24cc3
2 changed files with 26 additions and 20 deletions

View file

@ -151,5 +151,7 @@ endif
# List any extra directories to look for libraries here.
EXTRALIBDIRS = $(RULESPATH)/ld
DFU_UTIL ?= dfu-util
dfu-util: $(BUILD_DIR)/$(TARGET).bin sizeafter
dfu-util $(DFU_ARGS) -D $(BUILD_DIR)/$(TARGET).bin
$(DFU_UTIL) $(DFU_ARGS) -D $(BUILD_DIR)/$(TARGET).bin