mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
AP_HAL_ChibiOS: disable features on KakuteF7 and OmnibusF7v2 to mirror KakuteF7Mini
This commit is contained in:
parent
c483c04d4b
commit
bbaaf7d66f
@ -147,3 +147,14 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
define BOARD_PWM_COUNT_DEFAULT 6
|
||||
define STM32_PWM_USE_ADVANCED TRUE
|
||||
|
||||
# disable SMBUS and fuel battery monitors to save flash
|
||||
define HAL_BATTMON_SMBUS_ENABLE 0
|
||||
define HAL_BATTMON_FUEL_ENABLE 0
|
||||
|
||||
# disable parachute and sprayer to save flash
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
|
||||
# reduce max size of embedded params for apj_tool.py
|
||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
||||
|
@ -125,6 +125,14 @@ define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
define HAL_I2C_INTERNAL_MASK 0
|
||||
define HAL_COMPASS_AUTO_ROT_DEFAULT 2
|
||||
|
||||
# disable SMBUS and fuel battery monitors to save flash
|
||||
define HAL_BATTMON_SMBUS_ENABLE 0
|
||||
define HAL_BATTMON_FUEL_ENABLE 0
|
||||
|
||||
# disable parachute and sprayer to save flash
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
|
||||
# one baro
|
||||
BARO BMP280 SPI:bmp280
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user