diff --git a/src/VehicleSetup/PX4Bootloader.cc b/src/VehicleSetup/PX4Bootloader.cc index 217bcca3a09e76fe044ed9b1fa0c3228e20cfeff..deab12ea492b22da07ec10be313e206825f72268 100644 --- a/src/VehicleSetup/PX4Bootloader.cc +++ b/src/VehicleSetup/PX4Bootloader.cc @@ -439,7 +439,7 @@ bool PX4Bootloader::getBoardInfo(QextSerialPort* port, uint32_t& bootloaderVersi if (!getBoardInfo(port, INFO_BOARD_ID, _boardID)) { goto Error; } - if (_boardID != _boardIDPX4Flow && _boardID != _boardIDPX4FMUV1 && _boardID != _boardIDPX4FMUV2) { + if (_boardID != _boardIDPX4Flow && _boardID != _boardIDPX4FMUV1 && _boardID != _boardIDPX4FMUV2 && _boardID != _boardIDuNode) { _errorString = tr("Unsupported board: %1").arg(_boardID); goto Error; } diff --git a/src/VehicleSetup/PX4Bootloader.h b/src/VehicleSetup/PX4Bootloader.h index 2587c6ae72aa673b3ed7355c00ca35baba3c1376..12c95b2ca534403cf9f838f5b454b7b689a04698 100644 --- a/src/VehicleSetup/PX4Bootloader.h +++ b/src/VehicleSetup/PX4Bootloader.h @@ -145,6 +145,7 @@ private: static const int _boardIDPX4FMUV1 = 5; ///< Board ID for PX4 V1 board static const int _boardIDPX4FMUV2 = 9; ///< Board ID for PX4 V2 board static const int _boardIDPX4Flow = 6; ///< Board ID for PX4 Floaw board + static const int _boardIDuNode = 29; ///< Board ID for uNode board uint32_t _boardID; ///< board id for currently connected board uint32_t _boardFlashSize; ///< flash size for currently connected board