Project

General

Profile

Revision 1390

Added by Rich Hong almost 10 years ago

fixes #570 avrdude port detection

View differences:

Makefile
14 14
 USE_WIRELESS = 1
15 15

  
16 16
# com1 = serial port. Use lpt1 to connect to parallel port.
17
AVRDUDE_PORT = /dev/ttyUSB0
17
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 18
#
19 19
#
20 20
###################################

Also available in: Unified diff