Add a USB ardupilot * type

This commit is contained in:
CUAVcaijie 2020-10-17 01:28:00 -07:00 committed by Daniel Agar
parent 92a9278a6a
commit d8778ac8df
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ SERIAL_PORTS="/dev/tty.usbmodemPX*,/dev/tty.usbmodem*"
fi
if [ $SYSTYPE = "Linux" ]; then
SERIAL_PORTS="/dev/serial/by-id/*_PX4_*,/dev/serial/by-id/usb-3D_Robotics*,/dev/serial/by-id/usb-The_Autopilot*,/dev/serial/by-id/usb-Bitcraze*,/dev/serial/by-id/pci-Bitcraze*,/dev/serial/by-id/usb-Gumstix*,/dev/serial/by-id/usb-UVify*,"
SERIAL_PORTS="/dev/serial/by-id/*_PX4_*,/dev/serial/by-id/usb-3D_Robotics*,/dev/serial/by-id/usb-The_Autopilot*,/dev/serial/by-id/usb-Bitcraze*,/dev/serial/by-id/pci-Bitcraze*,/dev/serial/by-id/usb-Gumstix*,/dev/serial/by-id/usb-UVify*,/dev/serial/by-id/usb-ArduPilot*,"
fi
if [[ $SYSTYPE = *"CYGWIN"* ]]; then

View File

@ -57,6 +57,7 @@ if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
/dev/serial/by-id/usb-Gumstix*
/dev/serial/by-id/usb-Hex_ProfiCNC*
/dev/serial/by-id/usb-UVify*
/dev/serial/by-id/usb-ArduPilot*
)
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")