aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2015-05-15 21:57:29 -0400
committerGravatar Jack Humbert <jack.humb@gmail.com>2015-05-15 21:57:29 -0400
commit0e189b6bddb6b71d2aaa019689fbdb03beafa8a3 (patch)
tree87c9918de5f0a070d8f257c1ea1c6c64d6488334 /rules.mk
parentcb3e499cc7dbff2607bc43cb05fc8c29a2eb9d30 (diff)
downloadqmk_firmware-0e189b6bddb6b71d2aaa019689fbdb03beafa8a3.tar.gz
quark
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 83c9da5f8..b7380fc89 100644
--- a/rules.mk
+++ b/rules.mk
@@ -422,6 +422,11 @@ dfu: $(TARGET).hex
dfu-programmer $(MCU) erase
dfu-programmer $(MCU) flash $(TARGET).hex
dfu-programmer $(MCU) reset
+
+dfu-force: $(TARGET).hex
+ dfu-programmer $(MCU) erase --force
+ dfu-programmer $(MCU) flash $(TARGET).hex
+ dfu-programmer $(MCU) reset
dfu-start:
dfu-programmer $(MCU) reset