mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-13 03:18:29 -04:00
AP_HAL_ChibiOS: CUAV-Nora: add usart3 support
This commit is contained in:
parent
9ce281ae14
commit
2dae778103
@ -21,7 +21,7 @@ STM32_ST_USE_TIMER 2
|
|||||||
FLASH_RESERVE_START_KB 128
|
FLASH_RESERVE_START_KB 128
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# 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
|
# default the 2nd interface to MAVLink2 until MissionPlanner updates drivers
|
||||||
define HAL_OTG2_PROTOCOL SerialProtocol_MAVLink2
|
define HAL_OTG2_PROTOCOL SerialProtocol_MAVLink2
|
||||||
@ -157,6 +157,10 @@ PE8 UART7_TX UART7 NODMA
|
|||||||
PE0 UART8_RX UART8
|
PE0 UART8_RX UART8
|
||||||
PE1 UART8_TX UART8
|
PE1 UART8_TX UART8
|
||||||
|
|
||||||
|
# USART3
|
||||||
|
PD8 USART3_TX USART3 NODMA
|
||||||
|
PD9 USART3_RX USART3 NODMA
|
||||||
|
|
||||||
# PWM AUX channels
|
# PWM AUX channels
|
||||||
PH10 TIM5_CH1 TIM5 PWM(1) GPIO(50)
|
PH10 TIM5_CH1 TIM5 PWM(1) GPIO(50)
|
||||||
PH11 TIM5_CH2 TIM5 PWM(2) GPIO(51)
|
PH11 TIM5_CH2 TIM5 PWM(2) GPIO(51)
|
||||||
|
Loading…
Reference in New Issue
Block a user