mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-14 04:38:30 -04:00
hwdef: added two OpenDroneID enabled builds
This commit is contained in:
parent
e0029ca78b
commit
c4de7c6764
22
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/defaults.parm
Normal file
22
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/defaults.parm
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
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
|
10
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/hwdef.dat
Normal file
10
libraries/AP_HAL_ChibiOS/hwdef/CubeOrange-ODID/hwdef.dat
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
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 and enforce OpenDroneID
|
||||||
|
define AP_OPENDRONEID_ENABLED 1
|
||||||
|
|
||||||
|
|
10
libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/defaults.parm
Normal file
10
libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/defaults.parm
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# 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
|
||||||
|
|
@ -0,0 +1,6 @@
|
|||||||
|
include ../Pixhawk6X/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 10053
|
||||||
|
|
10
libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/hwdef.dat
Normal file
10
libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X-ODID/hwdef.dat
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
include ../Pixhawk6X/hwdef.dat
|
||||||
|
|
||||||
|
# use a different board ID, so vehicles with OpenDroneID enabled are
|
||||||
|
# prevented from loading the firmware without OpenDroneID enabled
|
||||||
|
APJ_BOARD_ID 10053
|
||||||
|
|
||||||
|
# enable OpenDroneID
|
||||||
|
define AP_OPENDRONEID_ENABLED 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user