hwdef: save flash to get 4.3.3 building on some low flash boards

This commit is contained in:
Andrew Tridgell 2023-01-09 13:18:09 +11:00 committed by Randy Mackay
parent cbfba1b719
commit 9d7bbdece5
5 changed files with 26 additions and 0 deletions

View File

@ -140,3 +140,7 @@ define AC_OAPATHPLANNER_ENABLED 0
define PRECISION_LANDING 0
define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
define AP_GPS_SIRF_ENABLED 0
define AP_GPS_NOVA_ENABLED 0
define AP_GPS_GSOF_ENABLED 0
define AP_GPS_ERB_ENABLED 0

View File

@ -25,3 +25,9 @@ IMU Invensensev3 SPI:icm42688 ROTATION_ROLL_180_YAW_270
BARO SPL06 I2C:0:0x76
define AP_BARO_SPL06_ENABLED 1
# disable some GPS drivers to save flash
define AP_GPS_SIRF_ENABLED 0
define AP_GPS_SBP_ENABLED 0
define AP_GPS_NOVA_ENABLED 0
define AP_GPS_GSOF_ENABLED 0
define AP_GPS_ERB_ENABLED 0

View File

@ -177,4 +177,10 @@ define HAL_WITH_DSP FALSE
# reduce max size of embedded params for apj_tool.py
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
# disable some GPS drivers to save flash
define AP_GPS_SIRF_ENABLED 0
define AP_GPS_SBP_ENABLED 0
define AP_GPS_NOVA_ENABLED 0
define AP_GPS_GSOF_ENABLED 0
define AP_GPS_ERB_ENABLED 0

View File

@ -200,3 +200,7 @@ define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
define AP_GPS_SIRF_ENABLED 0
define AP_GPS_SBP_ENABLED 0
define AP_GPS_NOVA_ENABLED 0
define AP_GPS_GSOF_ENABLED 0
define AP_GPS_ERB_ENABLED 0

View File

@ -173,3 +173,9 @@ define AC_OAPATHPLANNER_ENABLED 0
define PRECISION_LANDING 0
define AP_OPTICALFLOW_ENABLED 0
define AP_ICENGINE_ENABLED 0
# minimise GPS backends to save flash
define AP_GPS_NOVA_ENABLED 0
define AP_GPS_GSOF_ENABLED 0
define AP_GPS_ERB_ENABLED 0
define AP_GPS_SIRF_ENABLED 0