Commit 61bc6f35 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #1344 from crashmatt/master

Support for bootloading uNode board
parents 02f36bf3 8295b8dc
......@@ -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;
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment