CONFIG_I2C_STM32_V2

(No prompt – not directly user assignable.)

Type: bool

Help

Enable I2C support on the STM32 F0, F3, F7, L4, WBX, MP1, G0 and G4 family of processors. This driver also supports the L0 series. If I2C_SLAVE is enabled it selects I2C_STM32_INTERRUPT, since slave mode is only supported by this driver with interrupts enabled.

Defaults

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

Kconfig definitions

At soc/arm/st_stm32/stm32f0/Kconfig.defconfig.series:29

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && SOC_SERIES_STM32F0X

At soc/arm/st_stm32/stm32f3/Kconfig.defconfig.series:26

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && SOC_SERIES_STM32F3X

At soc/arm/st_stm32/stm32f7/Kconfig.defconfig.series:41

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && SOC_SERIES_STM32F7X

At soc/arm/st_stm32/stm32g0/Kconfig.defconfig.series:26

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && GPIO_STM32 && SOC_SERIES_STM32G0X

At soc/arm/st_stm32/stm32g4/Kconfig.defconfig.series:31

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && GPIO_STM32 && SOC_SERIES_STM32G4X

At soc/arm/st_stm32/stm32l0/Kconfig.defconfig.series:23

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && SOC_SERIES_STM32L0X

At soc/arm/st_stm32/stm32l4/Kconfig.defconfig.series:28

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && SOC_SERIES_STM32L4X

At soc/arm/st_stm32/stm32mp1/Kconfig.defconfig.series:50

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && SOC_SERIES_STM32MP1X

At soc/arm/st_stm32/stm32wb/Kconfig.defconfig.series:28

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

Menu path: (Top)

config I2C_STM32_V2
    bool
    default y
    depends on I2C_STM32 && SOC_SERIES_STM32WBX

At drivers/i2c/Kconfig.stm32:21

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

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

config I2C_STM32_V2
    bool
    select USE_STM32_LL_I2C
    select USE_STM32_LL_RCC if SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X
    select I2C_STM32_INTERRUPT if I2C_SLAVE
    depends on (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L4X || SOC_SERIES_STM32WBX || SOC_SERIES_STM32MP1X || SOC_SERIES_STM32G0X || SOC_SERIES_STM32G4X) && I2C_STM32 && I2C
    help
      Enable I2C support on the STM32 F0, F3, F7, L4, WBX, MP1, G0 and G4 family of
      processors.
      This driver also supports the L0 series.
      If I2C_SLAVE is enabled it selects I2C_STM32_INTERRUPT, since slave mode
      is only supported by this driver with interrupts enabled.

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