mirror of https://github.com/ArduPilot/ardupilot
hwdef: added two OpenDroneID enabled builds
This commit is contained in:
parent
e0029ca78b
commit
c4de7c6764
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -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