summaryrefslogtreecommitdiffstats
path: root/tmk_core/chibios.mk
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-29 22:45:27 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-04-29 22:45:27 +0200
commit18b4d24cc304bdc8882deee99b4ff765a718a5c3 (patch)
tree0ad0022518145342d44fe49fceb8a541ad39b1ca /tmk_core/chibios.mk
parent26bbfd78125224abdbd2e4ccf3aa3df1b5fc4968 (diff)
downloadqmk_firmware-18b4d24cc304bdc8882deee99b4ff765a718a5c3.tar.gz
qmk_firmware-18b4d24cc304bdc8882deee99b4ff765a718a5c3.tar.xz
Add possibility to override the command to execute when flashing
Diffstat (limited to 'tmk_core/chibios.mk')
-rw-r--r--tmk_core/chibios.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk
index eb0c40138..2a8d32fb9 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