From c976a26156302ff36715fc6ec98681f12e3d7d1b Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 1 Feb 2017 17:16:24 -1000 Subject: [PATCH] Use wild card *_PX4_* for upload Compliments the Bootloader change To simplify the ripple effect on the tools, we will be using /dev/serial/by-id/*_PX4_* to locate PX4 devices. Therefore moving forward all Bootloaders must contain the prefix "PX4 BL " in the USBDEVICESTRING --- cmake/common/px4_base.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/common/px4_base.cmake b/cmake/common/px4_base.cmake index f289337b13..e6917585a5 100644 --- a/cmake/common/px4_base.cmake +++ b/cmake/common/px4_base.cmake @@ -510,6 +510,7 @@ function(px4_add_upload) set(serial_ports) if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux") list(APPEND 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*