summaryrefslogtreecommitdiffstats
path: root/tmk_core/chibios.mk
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-04-30 11:17:47 -0400
committerGitHub <noreply@github.com>2017-04-30 11:17:47 -0400
commit2d732f484c3ec35e2cb44008d5cc28ecb6559a46 (patch)
tree93dc3a11a88c249f222326e84bc01d38ff5ae2cc /tmk_core/chibios.mk
parentd1d2b87f972c6d17b7ffcfe015f23eee26b60bdb (diff)
parent18b4d24cc304bdc8882deee99b4ff765a718a5c3 (diff)
Merge pull request #1264 from fredizzimo/wsl_support
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 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