mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: set default type for boards with onboard OSD
This commit is contained in:
parent
c2b334eaad
commit
d204939cb2
|
@ -156,6 +156,7 @@ define HAL_PROBE_EXTERNAL_I2C_BAROS
|
|||
|
||||
# OSD support
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
# available storage
|
||||
|
|
|
@ -140,6 +140,7 @@ SPIDEV osd SPI3 DEVID4 MAX7456_CS MODE0 10*MHZ 10*MHZ
|
|||
|
||||
# setup for OSD
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
# 8 PWM available by default
|
||||
|
|
|
@ -147,6 +147,7 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN"
|
|||
|
||||
# setup for OSD
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
define BOARD_PWM_COUNT_DEFAULT 6
|
||||
|
|
|
@ -177,6 +177,7 @@ define HAL_I2C_INTERNAL_MASK 0
|
|||
define HAL_COMPASS_AUTO_ROT_DEFAULT 2
|
||||
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
define BOARD_PWM_COUNT_DEFAULT 9
|
||||
|
|
|
@ -170,4 +170,5 @@ define BOARD_PWM_COUNT_DEFAULT 8
|
|||
|
||||
# setup for OSD
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
|
|
@ -134,4 +134,5 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
|
|||
define HAL_BARO_DEFAULT HAL_BARO_BMP280_SPI
|
||||
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
|
|
@ -123,6 +123,7 @@ define BOARD_RSSI_ANA_PIN 0
|
|||
define HAL_GPIO_A_LED_PIN 41
|
||||
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
|
||||
#To complementary channels work we define this
|
||||
define STM32_PWM_USE_ADVANCED TRUE
|
||||
|
|
|
@ -129,6 +129,7 @@ define BOARD_RSSI_ANA_PIN 0
|
|||
define HAL_GPIO_A_LED_PIN 57
|
||||
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
|
||||
#To complementary channels work we define this
|
||||
define STM32_PWM_USE_ADVANCED TRUE
|
||||
|
|
|
@ -156,4 +156,5 @@ define BOARD_PWM_COUNT_DEFAULT 8
|
|||
|
||||
# setup for OSD
|
||||
define OSD_ENABLED ENABLED
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
|
Loading…
Reference in New Issue