CONFIG_I2C_STM32

STM32 I2C driver

Type: bool

Help

Enable I2C support on the STM32 SoCs

Direct dependencies

(I2C && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && I2C)

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:78

Included via Kconfig:8Kconfig.zephyr:28soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config I2C_STM32
    bool
    default y
    depends on I2C && SOC_FAMILY_STM32

At drivers/i2c/Kconfig.stm32:4

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:36drivers/i2c/Kconfig:37

Menu path: (Top) → Device Drivers → I2C Drivers

menuconfig I2C_STM32
    bool "STM32 I2C driver"
    depends on SOC_FAMILY_STM32 && I2C
    help
      Enable I2C support on the STM32 SoCs

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)