diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-05-18 23:16:31 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-05-18 23:16:33 -0400 |
commit | bf545061f2a71b054ccdca6f6261bb7c2ffa4957 (patch) | |
tree | b208ef3bec7756a7cfa714ce4bd73e30c7f3e993 /tmk_core | |
parent | 0428214b905e5f8b3bed721885957ce249ba4991 (diff) |
outputs size when make dfuing
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/rules.mk | 2 |
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 |