summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-05-18 23:16:31 -0400
committerJack Humbert <jack.humb@gmail.com>2016-05-18 23:16:33 -0400
commitbf545061f2a71b054ccdca6f6261bb7c2ffa4957 (patch)
treeb208ef3bec7756a7cfa714ce4bd73e30c7f3e993
parent0428214b905e5f8b3bed721885957ce249ba4991 (diff)
outputs size when make dfuing
-rw-r--r--tmk_core/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index 69c7985b48..552f32331a 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -428,7 +428,7 @@ flip: $(TARGET).hex
batchisp -hardware usb -device $(MCU) -operation loadbuffer $(TARGET).hex program
batchisp -hardware usb -device $(MCU) -operation start reset 0
-dfu: $(TARGET).hex
+dfu: $(TARGET).hex sizeafter
ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
dfu-programmer $(MCU) erase --force
else