mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: move OSD minimizement to minimize_features.inc
This commit is contained in:
parent
1ffc5d2faa
commit
8278d5ad76
|
@ -142,11 +142,6 @@ define HAL_OS_FATFS_IO 1
|
|||
define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
||||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||
|
||||
# setup for OSD
|
||||
define OSD_ENABLED 1
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
define STM32_PWM_USE_ADVANCED TRUE
|
||||
|
||||
# disable SMBUS battery monitors to save flash
|
||||
|
@ -158,6 +153,12 @@ define HAL_PARACHUTE_ENABLED 0
|
|||
# save FLASH, but leave above when flash issue is fixed
|
||||
include ../include/minimize_features.inc
|
||||
|
||||
# setup for OSD
|
||||
undef OSD_ENABLED # minimize_features.inc removes this
|
||||
define OSD_ENABLED 1
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
# make sure MSP HD Goggle support remains
|
||||
undef HAL_WITH_MSP_DISPLAYPORT
|
||||
define HAL_WITH_MSP_DISPLAYPORT 1
|
||||
|
|
|
@ -154,6 +154,7 @@ define HAL_BOARD_LOG_DIRECTORY "/APM/LOGS"
|
|||
define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
||||
|
||||
# setup for OSD
|
||||
undef OSD_ENABLED # minimize_features.inc removes this
|
||||
define OSD_ENABLED 1
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
|
|
@ -137,6 +137,7 @@ include ../include/minimize_features.inc
|
|||
# one baro
|
||||
BARO BMP280 SPI:bmp280
|
||||
|
||||
undef OSD_ENABLED # minimize_features.inc removes this
|
||||
define OSD_ENABLED 1
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
|
|
@ -46,6 +46,7 @@ define AP_TRAMP_ENABLED 0
|
|||
define NUM_SERVO_CHANNELS 16
|
||||
|
||||
# remove various OSD features by default:
|
||||
define OSD_ENABLED 0
|
||||
define HAL_PLUSCODE_ENABLE 0
|
||||
define HAL_OSD_SIDEBAR_ENABLE 0
|
||||
define OSD_PARAM_ENABLED 0
|
||||
|
|
Loading…
Reference in New Issue