mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 01:58:29 -04:00
HAL_ChibiOS: reduced flash usage on MatekF405
overflowing by 1k
This commit is contained in:
parent
08cbfa032d
commit
961e538cc0
@ -159,7 +159,7 @@ define BOARD_PWM_COUNT_DEFAULT 8
|
|||||||
# setup for OSD
|
# setup for OSD
|
||||||
define OSD_ENABLED 1
|
define OSD_ENABLED 1
|
||||||
define HAL_OSD_TYPE_DEFAULT 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
|
# disable SMBUS and fuel battery monitors to save flash
|
||||||
define HAL_BATTMON_SMBUS_ENABLE 0
|
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
|
# reduce max size of embedded params for apj_tool.py
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
||||||
|
|
||||||
|
# save some flash
|
||||||
|
define GENERATOR_ENABLED 0
|
||||||
|
define AC_OAPATHPLANNER_ENABLED 0
|
||||||
|
define PRECISION_LANDING 0
|
||||||
|
Loading…
Reference in New Issue
Block a user