-
Notifications
You must be signed in to change notification settings - Fork 18k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CubeOrange-Aerobridge build in CI
- Loading branch information
Showing
6 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-Aerobridge/defaults.parm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# setup correct defaults for battery monitoring for cube power brick | ||
BATT2_CURR_PIN 4 | ||
BATT2_VOLT_PIN 13 | ||
BATT_AMP_PERVLT 39.877 | ||
BATT_VOLT_MULT 12.02 | ||
BATT2_AMP_PERVLT 39.877 | ||
BATT2_VOLT_MULT 12.02 | ||
# setup ADSB | ||
ADSB_TYPE 1 | ||
SERIAL5_BAUD 57 | ||
SERIAL5_PROTOCOL 1 | ||
|
||
# enforce OpenDroneID on DroneCAN. Note that we need to lock down key parameters | ||
# to ensure the integrity of the RemoteID system | ||
# DID_ENABLE 1 @READONLY | ||
# DID_OPTIONS 1 @READONLY | ||
# DID_MAVPORT -1 @READONLY | ||
# DID_CANDRIVER 1 @READONLY | ||
# AHRS_EKF_TYPE 3 @READONLY | ||
# GPS_TYPE 1 | ||
# GPS_TYPE2 0 | ||
|
||
EK2_PRIMARY 1 | ||
EK3_PRIMARY 1 |
8 changes: 8 additions & 0 deletions
8
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-Aerobridge/hwdef-bl.dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
include ../CubeOrange/hwdef-bl.dat | ||
|
||
# use a different board ID, so vehicles with OpenDroneID enabled are | ||
# prevented from loading the firmware without OpenDroneID enabled | ||
# APJ_BOARD_ID 10140 | ||
|
||
# enable Aerobridge Trusted Flight | ||
# define AP_AEROBRIDGE_TRUSTED_FLIGHT_ENABLED 1 |
8 changes: 8 additions & 0 deletions
8
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-Aerobridge/hwdef.dat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
include ../CubeOrange/hwdef.dat | ||
|
||
# use a different board ID, so vehicles with this installed are prevented from loading | ||
# the firmware without OpenDroneID enabled | ||
# APJ_BOARD_ID 10140 | ||
|
||
# enable Aerobridge Trusted Flight | ||
# define AP_AEROBRIDGE_TRUSTED_FLIGHT_ENABLED 1 |