AP_HAL_ChibiOS: Add ability to use UART3 and UART4 in bd alt config 4

This commit is contained in:
Henry Wurzburg 2020-05-10 17:40:51 -05:00 committed by Andrew Tridgell
parent 8ce27afba0
commit 12d5602926
1 changed files with 6 additions and 2 deletions

View File

@ -51,9 +51,11 @@ PA7 SPI1_MOSI SPI1
PB10 I2C2_SCL I2C2 PULLUP
PB11 I2C2_SDA I2C2 PULLUP
# use I2C pins as USART3 (SERIAL2) in BRD_ALT_CONFIG=1
# use I2C pins as USART3 (SERIAL2) in BRD_ALT_CONFIG=1 & 4
PB10 USART3_TX USART3 ALT(1)
PB11 USART3_RX USART3 ALT(1)
PB10 USART3_TX USART3 ALT(4)
PB11 USART3_RX USART3 ALT(4)
PB15 SPI2_MOSI SPI2
PB14 SPI2_MISO SPI2
@ -69,9 +71,11 @@ PC7 USART6_RX USART6
# UART4 TX available as an alternative config on PA0 (RSSI pad) with BRD_ALT_CONFIG=2
PA0 UART4_TX UART4 ALT(2)
# full UART4 also available as alt config on PA0 (RSSI pad) and PA1 (PWM output chan 5) with BRD_ALT_CONFIG=3
# full UART4 also available as alt config on PA0 (RSSI pad) and PA1 (PWM output chan 5) with BRD_ALT_CONFIG=3 & 4
PA0 UART4_TX UART4 ALT(3)
PA1 UART4_RX UART4 ALT(3)
PA0 UART4_TX UART4 ALT(4)
PA1 UART4_RX UART4 ALT(4)
PA13 JTMS-SWDIO SWD
PA14 JTCK-SWCLK SWD