mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
hwdef: save flash to get 4.3.3 building on some low flash boards
This commit is contained in:
parent
6f00ce382f
commit
f2c9b3ac06
@ -140,3 +140,7 @@ define AC_OAPATHPLANNER_ENABLED 0
|
|||||||
define PRECISION_LANDING 0
|
define PRECISION_LANDING 0
|
||||||
define AP_OPTICALFLOW_ENABLED 0
|
define AP_OPTICALFLOW_ENABLED 0
|
||||||
define AP_ICENGINE_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
|
BARO SPL06 I2C:0:0x76
|
||||||
define AP_BARO_SPL06_ENABLED 1
|
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
|
# reduce max size of embedded params for apj_tool.py
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
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_ICENGINE_ENABLED 0
|
||||||
define AP_GPS_SIRF_ENABLED 0
|
define AP_GPS_SIRF_ENABLED 0
|
||||||
define AP_GPS_SBP_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 PRECISION_LANDING 0
|
||||||
define AP_OPTICALFLOW_ENABLED 0
|
define AP_OPTICALFLOW_ENABLED 0
|
||||||
define AP_ICENGINE_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
Block a user