aboutsummaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-05-05 23:27:27 +0000
committerQMK Bot <hello@qmk.fm>2021-05-05 23:27:27 +0000
commit45f710f3ffc747d50aad2f45f38917e674d81d3a (patch)
treeb1ca9c4440e7f717d4696c8c1917ad9e9e7a3aa8 /tmk_core
parent15f4ab6a3fcc9f319b8192eb10c6d0d2d9222708 (diff)
parent38b9f67c3b874ff33383ec2eb18aba58e4e9dfa1 (diff)
downloadqmk_firmware-45f710f3ffc747d50aad2f45f38917e674d81d3a.tar.gz
qmk_firmware-45f710f3ffc747d50aad2f45f38917e674d81d3a.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/avr.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/avr.mk b/tmk_core/avr.mk
index c1d3f6b39..2bc7cc955 100644
--- a/tmk_core/avr.mk
+++ b/tmk_core/avr.mk
@@ -160,6 +160,8 @@ define EXEC_AVRDUDE
160 list_devices() { \ 160 list_devices() { \
161 if $(GREP) -q -s icrosoft /proc/version; then \ 161 if $(GREP) -q -s icrosoft /proc/version; then \
162 wmic.exe path Win32_SerialPort get DeviceID 2>/dev/null | LANG=C perl -pne 's/COM(\d+)/COM.($$1-1)/e' | sed 's!COM!/dev/ttyS!' | xargs echo -n | sort; \ 162 wmic.exe path Win32_SerialPort get DeviceID 2>/dev/null | LANG=C perl -pne 's/COM(\d+)/COM.($$1-1)/e' | sed 's!COM!/dev/ttyS!' | xargs echo -n | sort; \
163 elif [ "`uname`" = "FreeBSD" ]; then \
164 ls /dev/tty* | grep -v '\.lock$$' | grep -v '\.init$$'; \
163 else \ 165 else \
164 ls /dev/tty*; \ 166 ls /dev/tty*; \
165 fi; \ 167 fi; \
@@ -169,7 +171,7 @@ define EXEC_AVRDUDE
169 TMP1=`mktemp`; \ 171 TMP1=`mktemp`; \
170 TMP2=`mktemp`; \ 172 TMP2=`mktemp`; \
171 list_devices > $$TMP1; \ 173 list_devices > $$TMP1; \
172 while [ -z $$USB ]; do \ 174 while [ -z "$$USB" ]; do \
173 sleep 0.5; \ 175 sleep 0.5; \
174 printf "."; \ 176 printf "."; \
175 list_devices > $$TMP2; \ 177 list_devices > $$TMP2; \