mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
aerofc: Enable I2C bus 2
Now that UART3 is no longer in use we can use this I2C bus.
This commit is contained in:
committed by
Lorenz Meier
parent
79b84a08f5
commit
18626661b6
@@ -266,6 +266,9 @@
|
||||
#define GPIO_I2C1_SDA GPIO_I2C1_SDA_2
|
||||
#define GPIO_I2C1_SCL GPIO_I2C1_SCL_2
|
||||
|
||||
#define GPIO_I2C2_SDA GPIO_I2C2_SDA_1
|
||||
#define GPIO_I2C2_SCL GPIO_I2C2_SCL_1
|
||||
|
||||
#define GPIO_I2C3_SDA GPIO_I2C3_SDA_1
|
||||
#define GPIO_I2C3_SCL GPIO_I2C3_SCL_1
|
||||
|
||||
|
||||
@@ -391,7 +391,7 @@ CONFIG_STM32_DMA2=y
|
||||
# CONFIG_STM32_FSMC is not set
|
||||
# CONFIG_STM32_HASH is not set
|
||||
CONFIG_STM32_I2C1=y
|
||||
# CONFIG_STM32_I2C2 is not set
|
||||
CONFIG_STM32_I2C2=y
|
||||
CONFIG_STM32_I2C3=y
|
||||
CONFIG_STM32_OTGFS=y
|
||||
# CONFIG_STM32_OTGHS is not set
|
||||
|
||||
Reference in New Issue
Block a user