waf: fixed upload on Linux

This commit is contained in:
Andrew Tridgell 2018-07-26 08:52:56 +10:00
parent 62cf45659b
commit 4022a17d3b
1 changed files with 3 additions and 1 deletions

View File

@ -75,9 +75,11 @@ default_ports = [ '/dev/serial/by-id/usb-Ardu*',
'/dev/serial/by-id/usb-*_3DR_*', '/dev/serial/by-id/usb-*_3DR_*',
'/dev/serial/by-id/usb-Hex_Technology_Limited*', '/dev/serial/by-id/usb-Hex_Technology_Limited*',
'/dev/serial/by-id/usb-Hex_ProfiCNC*', '/dev/serial/by-id/usb-Hex_ProfiCNC*',
'/dev/ttyS*',
'/dev/tty.usbmodem*'] '/dev/tty.usbmodem*']
if "cygwin" in _platform:
default_ports += [ '/dev/ttyS*' ]
# Detect python version # Detect python version
if sys.version_info[0] < 3: if sys.version_info[0] < 3:
runningPython3 = False runningPython3 = False