AP_HAL_ChibiOS: fixes for KakuteF4Mini

This commit is contained in:
Andy Piper 2021-05-05 18:31:16 +01:00 committed by Andrew Tridgell
parent 387812bb01
commit b33b07e43f
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,6 @@
SERVO5_FUNCTION 120
NTF_LED_TYPES 257
SERIAL3_BAUD 115
SERIAL5_BAUD 115
# default Serial1 to FrSky telemetry
SERIAL1_PROTOCOL 10
SERIAL1_OPTIONS 7

View File

@ -14,7 +14,7 @@ undef HAL_SERIAL2_PROTOCOL
APJ_BOARD_ID 146
# use natural UART order to align with docs
SERIAL_ORDER OTG1 USART1 EMPTY EMPTY USART3 UART4 UART5 USART6
SERIAL_ORDER OTG1 USART1 EMPTY USART3 UART4 UART5 USART6
# RC input defaults to UART to allow for bi-dir dshot
# also frees up 32-bit TIM2 for system timer
@ -23,7 +23,8 @@ PB10 USART3_TX USART3
define HAL_SERIAL3_PROTOCOL SerialProtocol_RCIN
define HAL_SERIAL5_PROTOCOL SerialProtocol_ESCTelemetry
q
define HAL_SERIAL5_BAUD 115
# UART5 (ESC telemetry sensor), SERIAL5, NODMA for bi-dir dshot
PD2 UART5_RX UART5 NODMA