forked from mirrors/qmk_userspace
Add possibility to override the command to execute when flashing
This commit is contained in:
parent
26bbfd7812
commit
18b4d24cc3
2 changed files with 26 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue