mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_ChibiOS: add I2C / USART3 ALT_CONFIG for omnibusf4pro
This commit is contained in:
parent
e1e4e6c3c1
commit
7c7b199bbd
@ -26,7 +26,7 @@ FLASH_RESERVE_START_KB 64
|
||||
I2C_ORDER I2C2
|
||||
|
||||
# order of UARTs
|
||||
UART_ORDER OTG1 USART6 USART1
|
||||
UART_ORDER OTG1 USART6 USART1 USART3
|
||||
|
||||
#adc
|
||||
PC1 BAT_CURR_SENS ADC1 SCALE(1)
|
||||
@ -52,6 +52,10 @@ PA7 SPI1_MOSI SPI1
|
||||
PB10 I2C2_SCL I2C2 PULLUP
|
||||
PB11 I2C2_SDA I2C2 PULLUP
|
||||
|
||||
# use I2C pins as USART3 (SERIAL2) in ALT_CONFIG 1
|
||||
PB10 USART3_TX USART3 ALT(1)
|
||||
PB11 USART3_RX USART3 ALT(1)
|
||||
|
||||
PB15 SPI2_MOSI SPI2
|
||||
PB14 SPI2_MISO SPI2
|
||||
PB13 SPI2_SCK SPI2
|
||||
|
Loading…
Reference in New Issue
Block a user