AP_HAL_ChibiOS: Disable un-needed hardware drivers in SkyViper builds

these boards have integrated ESCs with no telemetry
This commit is contained in:
Dr.-Ing. Amilcar do Carmo Lucas 2021-04-19 19:09:02 +02:00 committed by Peter Barker
parent 8593672f4c
commit d363cbadcc
3 changed files with 9 additions and 0 deletions

View File

@ -133,3 +133,6 @@ COMPASS BMM150 I2C:0:0x10 false ROTATION_NONE
define HAL_BARO_DEFAULT HAL_BARO_20789_I2C_SPI
define HAL_BARO_20789_I2C_BUS 1
define HAL_BARO_20789_I2C_ADDR_PRESS 0x63
# Disable un-needed hardware drivers
define HAL_WITH_ESC_TELEM 0

View File

@ -136,3 +136,6 @@ env BUILD_ABIN True
# need more space for default parameters
define AP_PARAM_MAX_EMBEDDED_PARAM 8192
# Disable un-needed hardware drivers
define HAL_WITH_ESC_TELEM 0

View File

@ -64,3 +64,6 @@ env DEFAULT_PARAMETERS 'Tools/Frame_params/SkyViper-2450GPS/defaults.parm'
# the web UI uses an abin file for firmware uploads
env BUILD_ABIN True
# Disable un-needed hardware drivers
define HAL_WITH_ESC_TELEM 0