diff options
Diffstat (limited to 'keyboards/handwired/atreus50/rules.mk')
| -rw-r--r-- | keyboards/handwired/atreus50/rules.mk | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/handwired/atreus50/rules.mk b/keyboards/handwired/atreus50/rules.mk index 5e808dfa7..2e2d48f6a 100644 --- a/keyboards/handwired/atreus50/rules.mk +++ b/keyboards/handwired/atreus50/rules.mk | |||
| @@ -67,15 +67,3 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this | |||
| 67 | 67 | ||
| 68 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 68 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 69 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 69 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 70 | |||
| 71 | avrdude: build | ||
| 72 | ls /dev/tty* > /tmp/1; \ | ||
| 73 | echo "Reset your Pro Micro now"; \ | ||
| 74 | while [[ -z $$USB ]]; do \ | ||
| 75 | sleep 1; \ | ||
| 76 | ls /dev/tty* > /tmp/2; \ | ||
| 77 | USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`; \ | ||
| 78 | done; \ | ||
| 79 | avrdude -p $(MCU) -c avr109 -P $$USB -U flash:w:$(BUILD_DIR)/$(TARGET).hex | ||
| 80 | |||
| 81 | .PHONY: avrdude | ||
