diff options
author | Fred Sundvik <[email protected]> | 2017-04-29 23:45:27 +0300 |
---|---|---|
committer | Fred Sundvik <[email protected]> | 2017-04-29 23:45:27 +0300 |
commit | 18b4d24cc304bdc8882deee99b4ff765a718a5c3 (patch) | |
tree | 0ad0022518145342d44fe49fceb8a541ad39b1ca /tmk_core/chibios.mk | |
parent | 26bbfd78125224abdbd2e4ccf3aa3df1b5fc4968 (diff) | |
download | qmk_firmware-18b4d24cc304bdc8882deee99b4ff765a718a5c3.tar.gz qmk_firmware-18b4d24cc304bdc8882deee99b4ff765a718a5c3.zip |
Add possibility to override the command to execute when flashing
Diffstat (limited to 'tmk_core/chibios.mk')
-rw-r--r-- | tmk_core/chibios.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk index eb0c40138a..2a8d32fb99 100644 --- a/tmk_core/chibios.mk +++ b/tmk_core/chibios.mk @@ -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 |