mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
hwdef: remove save_some_flash.inc
all but one board was getting all of these includes from minimize_fpv_osd, and the remaining board had most lines foming from minimize_features.inc. This file has served its purpose, its role now taken on by minimize_fpv_osd.inc
This commit is contained in:
parent
bd518dc140
commit
813f0cf428
@ -158,7 +158,6 @@ define AP_PARAM_MAX_EMBEDDED_PARAM 256
|
||||
|
||||
# save some flash
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
include ../include/save_some_flash.inc
|
||||
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
|
@ -167,7 +167,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||
# define HAL_NAVEKF3_AVAILABLE 0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
include ../include/no_bootloader_DFU.inc
|
||||
|
||||
|
@ -159,6 +159,5 @@ define HAL_WITH_DSP FALSE
|
||||
define HAL_GYROFFT_ENABLED 0
|
||||
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
include ../include/save_some_flash.inc
|
||||
|
||||
AUTOBUILD_TARGETS Plane
|
||||
|
@ -38,7 +38,6 @@ DMA_PRIORITY ADC* USART3* TIM3* TIM5* SPI3* SPI1*
|
||||
DMA_NOSHARE SPI3_RX
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
define HAL_MOUNT_ENABLED 0
|
||||
|
@ -157,5 +157,4 @@ define HAL_SPRAYER_ENABLED 0
|
||||
define HAL_MOUNT_ENABLED 0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
|
@ -173,7 +173,6 @@ define HAL_GYROFFT_ENABLED 0
|
||||
# --------------------- save flash ----------------------
|
||||
# save some flash
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
include ../include/save_some_flash.inc
|
||||
include ../include/no_bootloader_DFU.inc
|
||||
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
|
@ -183,7 +183,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||
define HAL_GYROFFT_ENABLED 0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
define AP_GRIPPER_ENABLED 0
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
|
@ -161,6 +161,5 @@ define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
|
||||
|
@ -144,7 +144,6 @@ define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
define AP_GRIPPER_ENABLED 0
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
|
@ -164,9 +164,10 @@ define HAL_BATT_CURR_PIN -1
|
||||
define HAL_BATT_VOLT_SCALE 10.1
|
||||
define HAL_BATT_CURR_SCALE 17.0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
define HAL_SPEKTRUM_TELEM_ENABLED 0
|
||||
|
||||
# minimal drivers to reduce flash usage
|
||||
include ../include/minimize_features.inc
|
||||
|
||||
# save some flash
|
||||
define AC_PRECLAND_ENABLED 0
|
||||
define AP_ICENGINE_ENABLED 0
|
||||
define AP_OPTICALFLOW_ENABLED 0
|
||||
|
@ -1,7 +0,0 @@
|
||||
# save some flash
|
||||
define AP_OAPATHPLANNER_ENABLED 0
|
||||
define AC_PRECLAND_ENABLED 0
|
||||
define AP_ICENGINE_ENABLED 0
|
||||
define AP_OPTICALFLOW_ENABLED 0
|
||||
define HAL_BARO_WIND_COMP_ENABLED 0
|
||||
define HAL_GENERATOR_ENABLED 0
|
@ -151,7 +151,4 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
define HAL_SPRAYER_ENABLED 0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
|
||||
include ../include/minimize_fpv_osd.inc
|
||||
|
@ -11,6 +11,3 @@ PA2 TIM2_CH3 TIM2 PWM(4) GPIO(53)
|
||||
|
||||
# bootloader embedding / bootloader flashing not available
|
||||
define AP_BOOTLOADER_FLASHING_ENABLED 0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
|
@ -21,6 +21,3 @@ define HAL_OS_FATFS_IO 1
|
||||
define HAL_PARACHUTE_ENABLED 0
|
||||
|
||||
define HAL_GYROFFT_ENABLED 0
|
||||
|
||||
# save some flash
|
||||
include ../include/save_some_flash.inc
|
||||
|
Loading…
Reference in New Issue
Block a user