mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS:remove fetaures to allow boards to build
This commit is contained in:
parent
90ab6adebc
commit
887e4713e6
|
@ -144,11 +144,16 @@ define HAL_PARACHUTE_ENABLED 0
|
|||
# save FLASH, but leave above when flash issue is fixed
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
include ../include/no_bootloader_DFU.inc
|
||||
#only enable BMP280 Baro
|
||||
define AP_BARO_BACKEND_DEFAULT_ENABLED 0
|
||||
undef define AP_BARO_BMP280_ENABLED
|
||||
define AP_BARO_BMP280_ENABLED 1
|
||||
|
||||
# disable SMBUS battery monitors to save flash
|
||||
undef AP_BATTERY_SMBUS_ENABLED
|
||||
define AP_BATTERY_SMBUS_ENABLED 0
|
||||
|
||||
|
||||
# setup for OSD
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
@ -159,6 +164,6 @@ define HAL_WITH_MSP_DISPLAYPORT 1
|
|||
undef HAL_MSP_ENABLED
|
||||
define HAL_MSP_ENABLED 1
|
||||
|
||||
# need to probe external baros even 'though we're minimised:
|
||||
# need to probe external baros even 'though we're minimised to allow custom build options:
|
||||
undef AP_BARO_PROBE_EXTERNAL_I2C_BUSES
|
||||
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 1
|
||||
|
|
|
@ -155,17 +155,4 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
|||
define HAL_FRAME_TYPE_DEFAULT 12
|
||||
|
||||
# reduce flash usage
|
||||
define HAL_MOUNT_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
define HAL_GENERATOR_ENABLED 0
|
||||
define HAL_VISUALODOM_ENABLED 0
|
||||
define AP_WINCH_ENABLED 0
|
||||
define AP_BEACON_ENABLED 0
|
||||
define AP_GRIPPER_ENABLED 0
|
||||
define AP_ICENGINE_ENABLED 0
|
||||
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 0
|
||||
define OFFBOARD_GUIDED 0
|
||||
define QAUTOTUNE_ENABLED 0
|
||||
define EK3_FEATURE_EXTERNAL_NAV 0
|
||||
define AP_MISSION_NAV_PAYLOAD_PLACE_ENABLED 0
|
||||
define AC_PAYLOAD_PLACE_ENABLED 0
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
|
|
|
@ -129,6 +129,9 @@ define HAL_PARACHUTE_ENABLED 0
|
|||
# save FLASH, but leave above when flash issue is fixed
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
|
||||
#not useable for quadplane
|
||||
define HAL_QUADPLANE_ENABLED 0
|
||||
|
||||
# disable SMBUS monitors to save flash
|
||||
undef AP_BATTERY_SMBUS_ENABLED
|
||||
define AP_BATTERY_SMBUS_ENABLED 0
|
||||
|
|
Loading…
Reference in New Issue