Tools: added CubePilot to board recognition for uploader.py

for CubeOrangePlus
This commit is contained in:
Andrew Tridgell 2022-10-04 20:12:18 +11:00 committed by Randy Mackay
parent 5c9e222366
commit 8555a815d8

View File

@ -89,6 +89,7 @@ default_ports = ['/dev/serial/by-id/usb-Ardu*',
'/dev/serial/by-id/usb-*-BL_*', '/dev/serial/by-id/usb-*-BL_*',
'/dev/serial/by-id/usb-*_BL_*', '/dev/serial/by-id/usb-*_BL_*',
'/dev/serial/by-id/usb-Swift-Flyer*', '/dev/serial/by-id/usb-Swift-Flyer*',
'/dev/serial/by-id/usb-CubePilot*',
'/dev/tty.usbmodem*'] '/dev/tty.usbmodem*']
if "cygwin" in _platform or is_WSL: if "cygwin" in _platform or is_WSL: