Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
a49d1644
Unverified
Commit
a49d1644
authored
Jul 11, 2018
by
Gus Grubba
Committed by
GitHub
Jul 11, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6688 from mavlink/nxpHlite
Add auto connect support for the PX4 NXPHlite v3.x
parents
3284f8b3
3fd4bfaa
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
6 deletions
+11
-6
.appveyor.yml
.appveyor.yml
+2
-2
Bootloader.h
src/VehicleSetup/Bootloader.h
+1
-0
FirmwareUpgradeController.cc
src/VehicleSetup/FirmwareUpgradeController.cc
+2
-0
FirmwareUpgradeController.h
src/VehicleSetup/FirmwareUpgradeController.h
+1
-0
USBBoardInfo.json
src/comm/USBBoardInfo.json
+5
-4
No files found.
.appveyor.yml
View file @
a49d1644
...
...
@@ -15,7 +15,7 @@ environment:
install
:
-
git submodule update --init --recursive
-
call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
-
set PATH=C:\Qt\Tools\QtCreator\bin;C:\Qt\5.11.
0
\msvc2015\bin;%PATH%
-
set PATH=C:\Qt\Tools\QtCreator\bin;C:\Qt\5.11.
1
\msvc2015\bin;%PATH%
-
mkdir %LOCALAPPDATA%\QtProject && copy test\qtlogging.ini %LOCALAPPDATA%\QtProject\
-
ps
:
|
Write-Host "Installing GStreamer..." -ForegroundColor Cyan
...
...
@@ -35,7 +35,7 @@ install:
Write-Host "Installed" -ForegroundColor Green
build_script
:
-
mkdir %SHADOW_BUILD_DIR% && cd %SHADOW_BUILD_DIR% && C:\Qt\5.11.
0
\msvc2015\bin\qmake -r CONFIG-=debug_and_release CONFIG+=%CONFIG% CONFIG+=WarningsAsErrorsOn %APPVEYOR_BUILD_FOLDER%\qgroundcontrol.pro
-
mkdir %SHADOW_BUILD_DIR% && cd %SHADOW_BUILD_DIR% && C:\Qt\5.11.
1
\msvc2015\bin\qmake -r CONFIG-=debug_and_release CONFIG+=%CONFIG% CONFIG+=WarningsAsErrorsOn %APPVEYOR_BUILD_FOLDER%\qgroundcontrol.pro
-
cd %SHADOW_BUILD_DIR% && jom
-
if "%CONFIG%" EQU "installer" ( copy %SHADOW_BUILD_DIR%\release\QGroundControl-installer.exe %APPVEYOR_BUILD_FOLDER%\QGroundControl-installer.exe )
# Generate the source server information to embed in the PDB
...
...
src/VehicleSetup/Bootloader.h
View file @
a49d1644
...
...
@@ -74,6 +74,7 @@ public:
static
const
int
boardIDTAPV1
=
64
;
///< TAP V1 board, as from USB PID
static
const
int
boardIDASCV1
=
65
;
///< ASC V1 board, as from USB PID
static
const
int
boardIDCrazyflie2
=
12
;
///< Crazyflie 2.0 board, as from USB PID
static
const
int
boardIDNXPHliteV3
=
28
;
///< NXPHliteV3 board, as from USB PID
/// Simulated board id for V3 which is a V2 board which supports larger flash space
/// IMPORTANT: Make sure this id does not conflict with any newly added real board ids
...
...
src/VehicleSetup/FirmwareUpgradeController.cc
View file @
a49d1644
...
...
@@ -481,6 +481,8 @@ QHash<FirmwareUpgradeController::FirmwareIdentifier, QString>* FirmwareUpgradeCo
return
&
_rgASCV1Firmware
;
case
Bootloader
:
:
boardIDCrazyflie2
:
return
&
_rgCrazyflie2Firmware
;
case
Bootloader
:
:
boardIDNXPHliteV3
:
return
&
_rgNXPHliteV3Firmware
;
case
Bootloader
:
:
boardID3DRRadio
:
return
&
_rg3DRRadioFirmware
;
default:
...
...
src/VehicleSetup/FirmwareUpgradeController.h
View file @
a49d1644
...
...
@@ -212,6 +212,7 @@ private:
QHash
<
FirmwareIdentifier
,
QString
>
_rgTAPV1Firmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rgASCV1Firmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rgCrazyflie2Firmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rgNXPHliteV3Firmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rgPX4FLowFirmware
;
QHash
<
FirmwareIdentifier
,
QString
>
_rg3DRRadioFirmware
;
...
...
src/comm/USBBoardInfo.json
View file @
a49d1644
...
...
@@ -19,14 +19,15 @@
{
"vendorID"
:
9900
,
"productID"
:
65
,
"boardClass"
:
"Pixhawk", "name"
:
"ASC V1"
},
{
"vendorID"
:
9900
,
"productID"
:
22
,
"boardClass"
:
"Pixhawk", "name"
:
"Crazyflie 2"
},
{
"vendorID"
:
9900
,
"productID"
:
1
,
"boardClass"
:
"Pixhawk", "name"
:
"Omnibus F4 SD"
},
{
"vendorID"
:
8137
,
"productID"
:
28
,
"boardClass"
:
"Pixhawk", "name"
:
"PX4 NXPHlite v3.x"
},
{
"vendorID"
:
9900
,
"productID"
:
21
,
"boardClass"
:
"PX4 Flow", "name"
:
"PX4 Flow"
},
{
"vendorID"
:
1027
,
"productID"
:
24597
,
"boardClass"
:
"SiK Radio", "name"
:
"SiK Radio", "comment"
:
"3DR Radio"
},
{
"vendorID"
:
1027
,
"productID"
:
24577
,
"boardClass"
:
"SiK Radio", "name"
:
"SiK Radio", "comment"
:
"3DR Radio on FTDI"
},
{
"vendorID"
:
4292
,
"productID"
:
60000
,
"boardClass"
:
"SiK Radio", "name"
:
"SiK Radio", "comment"
:
"SILabs Radio"
},
{
"vendorID"
:
4292
,
"productID"
:
60000
,
"boardClass"
:
"SiK Radio", "name"
:
"SiK Radio", "comment"
:
"SILabs Radio"
},
{
"vendorID"
:
5446
,
"productID"
:
424
,
"boardClass"
:
"RTK GPS", "name"
:
"RTK GPS", "comment"
:
"Ublox RTK GPS"
},
{
"vendorID"
:
5446
,
"productID"
:
424
,
"boardClass"
:
"RTK GPS", "name"
:
"RTK GPS", "comment"
:
"Ublox RTK GPS"
},
{
"vendorID"
:
8352
,
"productID"
:
16732
,
"boardClass"
:
"OpenPilot", "name"
:
"OpenPilot OPLink"
},
{
"vendorID"
:
8352
,
"productID"
:
16733
,
"boardClass"
:
"OpenPilot", "name"
:
"OpenPilot CC3D"
},
...
...
@@ -35,8 +36,8 @@
],
"boardFallback"
:
[
{
"regExp"
:
"^PX4 FMU v5.x$", "boardClass"
:
"Pixhawk"
},
{
"regExp"
:
"^PX4 BL FMU v5.x$","boardClass"
:
"Pixhawk"
},
{
"regExp"
:
"^PX4 FMU v5.x$",
"boardClass"
:
"Pixhawk"
},
{
"regExp"
:
"^PX4 BL FMU v5.x$",
"boardClass"
:
"Pixhawk"
},
{
"regExp"
:
"^PX4 FMU v4.x PRO$", "boardClass"
:
"Pixhawk"
},
{
"regExp"
:
"^PX4 BL FMU v4.x PRO$","boardClass"
:
"Pixhawk"
},
{
"regExp"
:
"^PX4 FMU v4.x$", "boardClass"
:
"Pixhawk"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment