forked from Archive/PX4-Autopilot
add pci-Bitcraze to px4_base.cmake
This commit is contained in:
parent
cf8f484868
commit
0027333e6d
|
@ -17,7 +17,7 @@ fi
|
|||
|
||||
if [ $SYSTYPE = "Linux" ];
|
||||
then
|
||||
SERIAL_PORTS="/dev/serial/by-id/usb-3D_Robotics*,/dev/serial/by-id/usb-The_Autopilot*,/dev/serial/by-id/usb-Bitcraze*"
|
||||
SERIAL_PORTS="/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*,"
|
||||
fi
|
||||
|
||||
if [ $SYSTYPE = "" ];
|
||||
|
|
|
@ -501,6 +501,7 @@ function(px4_add_upload)
|
|||
/dev/serial/by-id/usb-The_Autopilot*
|
||||
/dev/serial/by-id/usb-Bitcraze*
|
||||
/dev/serial/by-id/pci-3D_Robotics*
|
||||
/dev/serial/by-id/pci-Bitcraze*
|
||||
)
|
||||
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
|
||||
list(APPEND serial_ports
|
||||
|
|
Loading…
Reference in New Issue