Revision 1390
fixes #570 avrdude port detection
Makefile | ||
---|---|---|
3 | 3 |
# |
4 | 4 |
|
5 | 5 |
# COMX in Windows. /dev/ttyUSBX in Linux. |
6 |
AVRDUDE_PORT = /dev/ttyUSB0
|
|
6 |
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
|
|
7 | 7 |
|
8 | 8 |
# Target file name (without extension). |
9 | 9 |
TARGET = template |
Also available in: Unified diff