Explorar o código

outputs size when make dfuing

Jack Humbert %!s(int64=9) %!d(string=hai) anos
pai
achega
bf545061f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tmk_core/rules.mk

+ 1 - 1
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