diff --git a/nuttx-configs/aerofc-v1/include/board.h b/nuttx-configs/aerofc-v1/include/board.h index 5d7a5600c4..02f1f6d85d 100644 --- a/nuttx-configs/aerofc-v1/include/board.h +++ b/nuttx-configs/aerofc-v1/include/board.h @@ -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 diff --git a/nuttx-configs/aerofc-v1/nsh/defconfig b/nuttx-configs/aerofc-v1/nsh/defconfig index 7634826ff4..26d7f10891 100644 --- a/nuttx-configs/aerofc-v1/nsh/defconfig +++ b/nuttx-configs/aerofc-v1/nsh/defconfig @@ -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