AP_HAL_ChibiOS: Make final tweaks to MambaF405US-I2C
This commit is contained in:
parent
c84a880de4
commit
35beae6037
@ -19,12 +19,12 @@ FLASH_USE_MAX_KB 16
|
||||
FLASH_RESERVE_START_KB 0
|
||||
|
||||
# LEDs
|
||||
PC15 LED_BOOTLOADER OUTPUT LOW # blue
|
||||
PC14 LED_GREEN OUTPUT LOW # green
|
||||
PC15 LED1 OUTPUT LOW
|
||||
PC14 LED2 OUTPUT LOW
|
||||
define HAL_LED_ON 0
|
||||
|
||||
# the location where the bootloader will put the firmware
|
||||
FLASH_BOOTLOADER_LOAD_KB 64
|
||||
FLASH_BOOTLOADER_LOAD_KB 48
|
||||
|
||||
# board voltage
|
||||
STM32_VDD 330U
|
||||
|
@ -31,11 +31,11 @@ PC5 VBUS INPUT OPENDRAIN
|
||||
|
||||
# USART1 is wired to SBUS and PPM input
|
||||
# RC input defaults to timer capture
|
||||
PB6 TIM4_CH1 TIM4 RCININT PULLDOWN
|
||||
PB7 USART1_RX USART1 NODMA
|
||||
PB7 TIM4_CH2 TIM4 RCININT PULLDOWN
|
||||
PB6 USART1_TX USART1 NODMA
|
||||
|
||||
# Alt config to allow RCIN on UART
|
||||
PB6 USART1_TX USART1 NODMA ALT(1)
|
||||
PB7 USART1_RX USART1 NODMA ALT(1)
|
||||
|
||||
# SBUS inversion control pin, active low
|
||||
PC0 USART1_RXINV OUTPUT HIGH GPIO(78) POL(0)
|
||||
@ -53,8 +53,6 @@ PA0 UART4_TX UART4
|
||||
PA1 UART4_RX UART4
|
||||
|
||||
# UART5
|
||||
# These are labeled in betaflight F405US_I2C target but aren't on the board?
|
||||
# I'm assuming there are more boards that use this target
|
||||
PC12 UART5_TX UART5
|
||||
PD2 UART5_RX UART5
|
||||
|
||||
@ -140,8 +138,8 @@ define STORAGE_FLASH_PAGE 1
|
||||
|
||||
# flash size
|
||||
FLASH_SIZE_KB 1024
|
||||
# reserve 32k for bootloader and 32k for flash storage
|
||||
FLASH_RESERVE_START_KB 64
|
||||
# reserve 16k for bootloader and 32k for flash storage
|
||||
FLASH_RESERVE_START_KB 48
|
||||
|
||||
# define default battery setup
|
||||
define HAL_BATT_VOLT_PIN 11
|
||||
@ -156,4 +154,7 @@ define BOARD_RSSI_ANA_PIN 1
|
||||
define OSD_ENABLED 1
|
||||
define HAL_OSD_TYPE_DEFAULT 1
|
||||
|
||||
# Font for OSD
|
||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||
|
||||
define BOARD_PWM_COUNT_DEFAULT 4
|
Loading…
Reference in New Issue
Block a user