AP_HAL_ChibiOS: CUAV-Nora: add usart3 support

This commit is contained in:
李孟晓 2022-03-30 01:06:30 +00:00 committed by Randy Mackay
parent 9ce281ae14
commit 2dae778103
1 changed files with 5 additions and 1 deletions

View File

@ -21,7 +21,7 @@ STM32_ST_USE_TIMER 2
FLASH_RESERVE_START_KB 128
# order of UARTs (and USB)
SERIAL_ORDER OTG1 USART2 USART6 USART1 UART4 UART8 UART7 OTG2
SERIAL_ORDER OTG1 USART2 USART6 USART1 UART4 UART8 UART7 USART3 OTG2
# default the 2nd interface to MAVLink2 until MissionPlanner updates drivers
define HAL_OTG2_PROTOCOL SerialProtocol_MAVLink2
@ -157,6 +157,10 @@ PE8 UART7_TX UART7 NODMA
PE0 UART8_RX UART8
PE1 UART8_TX UART8
# USART3
PD8 USART3_TX USART3 NODMA
PD9 USART3_RX USART3 NODMA
# PWM AUX channels
PH10 TIM5_CH1 TIM5 PWM(1) GPIO(50)
PH11 TIM5_CH2 TIM5 PWM(2) GPIO(51)