The latest development version of this page may be more current than this released 3.0.0 version.

CONFIG_I2C_ESP32

ESP32 I2C driver

Type: bool

Help

Enables the ESP32 I2C driver

Direct dependencies

(SOC_ESP32 || SOC_ESP32S2 || SOC_ESP32C3) && I2C

(Includes any dependencies from ifs and menus.)

Default

  • n

Symbols selected by this symbol

Kconfig definition

At drivers/i2c/Kconfig.esp32:9

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:42drivers/i2c/Kconfig:36

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

config I2C_ESP32
    bool "ESP32 I2C driver"
    default n
    select GPIO_ESP32
    depends on (SOC_ESP32 || SOC_ESP32S2 || SOC_ESP32C3) && I2C
    help
      Enables the ESP32 I2C driver

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