mirror of https://github.com/ArduPilot/ardupilot
hwdef: save flash to get 4.3.3 building on some low flash boards
This commit is contained in:
parent
cbfba1b719
commit
9d7bbdece5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue