diff options
author | Danny Nguyen <danny@80pct.com> | 2017-08-03 14:23:12 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-08-03 20:56:21 -0400 |
commit | e0caf94323d5cc0baae38af11984902fb1a5375f (patch) | |
tree | bb77118d1e2d8a283d4257229ebea275d04dead7 /keyboards/lets_split | |
parent | 83b35bf6f68d16910b2acfaffa21c82f4ffbfd3a (diff) | |
download | qmk_firmware-e0caf94323d5cc0baae38af11984902fb1a5375f.tar.gz qmk_firmware-e0caf94323d5cc0baae38af11984902fb1a5375f.zip |
Move avrdude flashing script from individual keyboard rules.mk to common location and improve script.
Port detection script is now more informative and better handles first time flashing of a Pro Micro
Diffstat (limited to 'keyboards/lets_split')
-rw-r--r-- | keyboards/lets_split/rules.mk | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/lets_split/rules.mk b/keyboards/lets_split/rules.mk index cc87ee31c6..c2b7d556eb 100644 --- a/keyboards/lets_split/rules.mk +++ b/keyboards/lets_split/rules.mk @@ -74,15 +74,3 @@ USE_I2C = yes SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend CUSTOM_MATRIX = yes - -avrdude: build - ls /dev/tty* > /tmp/1; \ - echo "Reset your Pro Micro now"; \ - while [ -z $$USB ]; do \ - sleep 1; \ - ls /dev/tty* > /tmp/2; \ - USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`; \ - done; \ - avrdude -p $(MCU) -c avr109 -P $$USB -U flash:w:$(BUILD_DIR)/$(TARGET).hex - -.PHONY: avrdude |