hwdef: enable ESC telem on CarbonixL496

This commit is contained in:
Andrew Tridgell 2021-12-09 10:53:09 +11:00 committed by Tom Pittenger
parent d239bf99bd
commit c9b35ccfc8
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,7 @@ PA9 TIM1_CH2 TIM1 PWM(1) GPIO(50)
PA8 TIM1_CH1 TIM1 PWM(2) GPIO(51)
PC6 TIM3_CH1 TIM3 PWM(3) GPIO(52) # LED
# USART2
# USART2, ESC telem
PA2 USART2_TX USART2 SPEED_HIGH NODMA
PA3 USART2_RX USART2 SPEED_HIGH NODMA
@ -122,6 +122,10 @@ define HAL_PERIPH_ENABLE_MAG
define HAL_PERIPH_ENABLE_BARO
define HAL_PERIPH_ENABLE_RC_OUT
# enable ESC control
define HAL_SUPPORT_RCOUT_SERIAL 1
define HAL_WITH_ESC_TELEM 1
BARO MS56XX I2C:0:0x76
COMPASS MMC5XX3 I2C:0:0x30 false ROTATION_NONE