We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0a8f13 commit a114714Copy full SHA for a114714
rules.mk
@@ -420,6 +420,10 @@ flip: $(TARGET).hex
420
batchisp -hardware usb -device $(MCU) -operation start reset 0
421
422
dfu: $(TARGET).hex
423
+ @until dfu-programmer atmega32u4 get bootloader-version > /dev/null 2>&1; do \
424
+ echo -n "."; \
425
+ sleep 1; \
426
+ done
427
ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
428
dfu-programmer $(MCU) erase --force
429
else
0 commit comments