From 38c368a52f46124075aebac7a2c0babf567ea76c Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 26 Mar 2019 10:05:18 -0700 Subject: [PATCH] Better specifications for ArduPilot ChibiOS and Holybro --- ChangeLog.md | 3 +-- src/comm/QGCSerialPortInfo.cc | 2 +- src/comm/USBBoardInfo.json | 5 +++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index e230561af..a93f9093f 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -6,12 +6,11 @@ Note: This file only contains high level features or important fixes. ### 3.6.0 - Daily Build +* Improved support for flashing/connecting to ChibiOS bootloaders boards. * Making the camera API available to all firmwares, not just PX4. * ArduPilot: Support configurable mavlink stream rates. Available from Settings/Mavlink page. * Major rewrite and bug fix pass through Structure Scan. Previous version had such bad problems that it can no longer be supported. Plans with Structure Scan will need to be recreated. New QGC will not load old Structure Scan plans. -* Major rewrite and bug fix pass through Structure Scan. Previous version had such bad problems that it can no longer be supported. Plans with Structure Scan will need to be recreated. New QGC will not load old Structure Scan plans. - ### 3.5.1 - Not yet released * Fix tile set count but in OfflineMaps which would cause image and elevation tile set to have incorrect counts and be incorrectly marked as download incomplete. diff --git a/src/comm/QGCSerialPortInfo.cc b/src/comm/QGCSerialPortInfo.cc index 539a8c7dd..18188356e 100644 --- a/src/comm/QGCSerialPortInfo.cc +++ b/src/comm/QGCSerialPortInfo.cc @@ -225,7 +225,7 @@ bool QGCSerialPortInfo::getBoardInfo(QGCSerialPortInfo::BoardType_t& boardType, for (int i=0; i<_boardInfoList.count(); i++) { const BoardInfo_t& boardInfo = _boardInfoList[i]; - if (vendorIdentifier() == boardInfo.vendorId && productIdentifier() == boardInfo.productId) { + if (vendorIdentifier() == boardInfo.vendorId && (productIdentifier() == boardInfo.productId || boardInfo.productId == 0)) { boardType = boardInfo.boardType; name = boardInfo.name; return true; diff --git a/src/comm/USBBoardInfo.json b/src/comm/USBBoardInfo.json index 6a91abb6b..b5f39dbf4 100644 --- a/src/comm/USBBoardInfo.json +++ b/src/comm/USBBoardInfo.json @@ -21,6 +21,11 @@ { "vendorID": 9900, "productID": 1, "boardClass": "Pixhawk", "name": "Omnibus F4 SD" }, { "vendorID": 8137, "productID": 28, "boardClass": "Pixhawk", "name": "PX4 NXPHlite v3.x" }, + { "vendorID": 1155, "productID": 22336, "boardClass": "Pixhawk", "name": "ArduPilot ChibiOS" }, + { "vendorID": 4617, "productID": 22336, "boardClass": "Pixhawk", "name": "ArduPilot ChibiOS" }, + + { "vendorID": 12642, "productID": 0, "boardClass": "Pixhawk", "name": "Holybro" }, + { "vendorID": 9900, "productID": 21, "boardClass": "PX4 Flow", "name": "PX4 Flow" }, { "vendorID": 1027, "productID": 24597, "boardClass": "SiK Radio", "name": "SiK Radio", "comment": "3DR Radio" }, -- 2.22.0