HAL_ChibiOS: enable OSD for MatekF405
This commit is contained in:
parent
cf19e7a3ae
commit
8e8508a9f3
@ -147,6 +147,7 @@ define HAL_BARO_BMP280_I2C_ADDR 0x76
|
||||
# SPI devices
|
||||
SPIDEV mpu6000 SPI1 DEVID1 MPU6000_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV sdcard SPI3 DEVID1 SDCARD_CS MODE0 400*KHZ 25*MHZ
|
||||
SPIDEV osd SPI2 DEVID1 MAX7456_CS MODE0 10*MHZ 10*MHZ
|
||||
|
||||
# filesystem setup on sdcard
|
||||
define HAL_OS_FATFS_IO 1
|
||||
@ -164,3 +165,7 @@ define BOARD_PWM_COUNT_DEFAULT 8
|
||||
#define CH_DBG_ENABLE_CHECKS TRUE
|
||||
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
|
||||
#define CH_DBG_ENABLE_STACK_CHECK TRUE
|
||||
|
||||
# setup for OSD
|
||||
define OSD_ENABLED ENABLED
|
||||
ROMFS osd_font.bin libraries/AP_OSD/fonts/clarity.bin
|
||||
|
Loading…
Reference in New Issue
Block a user