outputs size when make dfuing

master
Jack Humbert 2016-05-18 23:16:31 -04:00
parent 0428214b90
commit bf545061f2
1 changed files with 1 additions and 1 deletions

View File

@ -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