Skip to content

Commit

Permalink
AP_HAL_ChbiOS: ALT config to enable UART3 in place of I2C
Browse files Browse the repository at this point in the history
  • Loading branch information
Hwurzburg authored and tridge committed Sep 21, 2020
1 parent 9fef5b1 commit de8002a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/AP_HAL_ChibiOS/hwdef/OMNIBUSF7V2/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ PE2 SPI4_SCK SPI4
PE5 SPI4_MISO SPI4
PE6 SPI4_MOSI SPI4

# optional I2C device2, shared with USART3
# external I2C device2, pins shared with USART3, normally disabled
PB10 I2C2_SCL I2C2
PB11 I2C2_SDA I2C2

Expand Down Expand Up @@ -87,9 +87,9 @@ PA3 TIM9_CH2 TIM9 RCININT PULLDOWN
# alternative RC input using USART2
PA3 USART2_RX USART2 NODMA ALT(1)

# USART3
PD9 USART3_RX USART3
PD8 USART3_TX USART3
# USART3, enabled as ALT config in place of I2C
PB10 USART3_TX USART3 ALT(1)
PB11 USART3_RX USART3 ALT(1)

# USART6
PC7 USART6_RX USART6
Expand Down

0 comments on commit de8002a

Please sign in to comment.