mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-23 03:50:28 +08:00
outputs size when make dfuing
This commit is contained in:
parent
0428214b90
commit
bf545061f2
|
@ -428,7 +428,7 @@ flip: $(TARGET).hex
|
||||||
batchisp -hardware usb -device $(MCU) -operation loadbuffer $(TARGET).hex program
|
batchisp -hardware usb -device $(MCU) -operation loadbuffer $(TARGET).hex program
|
||||||
batchisp -hardware usb -device $(MCU) -operation start reset 0
|
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)))
|
ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
|
||||||
dfu-programmer $(MCU) erase --force
|
dfu-programmer $(MCU) erase --force
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue