AP_HAL_ChibiOS: allow specification of AUTOBUILD_TARGETS in hwdef files

This commit is contained in:
Peter Barker 2022-02-24 16:34:07 +11:00 committed by Andrew Tridgell
parent 0f10a50b3d
commit a7aa4155ad
5 changed files with 10 additions and 0 deletions

View File

@ -9,3 +9,5 @@ include ../CubeBlack/hwdef.dat
# pull Solo's default parameters from /Tools/Frame_params
# these are parameters the Solo requires for proper operation that are different from the 4 standard defaults.
env DEFAULT_PARAMETERS 'Tools/Frame_params/Solo_Copter-4_GreenCube.param'
AUTOBUILD_TARGETS Copter

View File

@ -51,3 +51,5 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_OREO_LED_ENABLED 1
define HAL_IMU_TEMP_MARGIN_LOW_DEFAULT 5
AUTOBUILD_TARGETS Copter

View File

@ -36,3 +36,5 @@ define HAL_WITH_RAMTRON 1
# use a longer frame gap detector for more robust SBUS with H12 controller
define HAL_SBUS_FRAME_GAP 5000U
AUTOBUILD_TARGETS Plane

View File

@ -128,3 +128,5 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 8192
# Disable un-needed hardware drivers
define HAL_WITH_ESC_TELEM 0
define AP_FETTEC_ONEWIRE_ENABLED 0
AUTOBUILD_TARGETS Copter

View File

@ -113,3 +113,5 @@ define AP_MOTORS_FRAME_QUAD_ENABLED 1
define COMPASS_MAX_SENSORS 1
define BARO_MAX_INSTANCES 1
define INS_MAX_INSTANCES 1
AUTOBUILD_TARGETS Copter