diff --git a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/pins_arduino.h b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/pins_arduino.h index 1b0d5170caad078a61c06c3cae6483da968f6db4..c0e7fffed1d00cea15648708fa6b5b47975be032 100644 --- a/bsp/stm32/stm32l475-atk-pandora/applications/arduino/pins_arduino.h +++ b/bsp/stm32/stm32l475-atk-pandora/applications/arduino/pins_arduino.h @@ -18,6 +18,8 @@ #define ARDUINO_PINOUT_ADC_MAX 6 /* Arduino UNO has 6 ADC pins */ #define ARDUINO_PINOUT_PWM_MAX 5 /* Arduino UNO has 5 PWM pins */ +#define ARDUINO_DEFAULT_IIC_BUS_NAME "i2c4" + #define A0 (14) #define A1 (15) #define A2 (16) diff --git a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig index d17a1f542ba25958d2b3af085d5b2d8bd42d749a..ff8b8270096558637f9ee9991cbcf3278e3f006d 100644 --- a/bsp/stm32/stm32l475-atk-pandora/board/Kconfig +++ b/bsp/stm32/stm32l475-atk-pandora/board/Kconfig @@ -25,6 +25,8 @@ menu "Onboard Peripheral Drivers" select BSP_USING_PWM4_CH3 select BSP_USING_ADC select BSP_USING_ADC1 + select BSP_USING_I2C + select BSP_USING_I2C4 default n config BSP_USING_KEY