HAL_ChibiOS: reduced flash usage on MatekF405

overflowing by 1k
This commit is contained in:
Andrew Tridgell 2021-04-20 18:22:09 +10:00
parent 08cbfa032d
commit 961e538cc0

View File

@ -159,7 +159,7 @@ define BOARD_PWM_COUNT_DEFAULT 8
# setup for OSD
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
# disable SMBUS and fuel battery monitors to save flash
define HAL_BATTMON_SMBUS_ENABLE 0
@ -171,3 +171,8 @@ define HAL_SPRAYER_ENABLED 0
# reduce max size of embedded params for apj_tool.py
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
# save some flash
define GENERATOR_ENABLED 0
define AC_OAPATHPLANNER_ENABLED 0
define PRECISION_LANDING 0