This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Enable I2C Port 2

Type: bool

Direct dependencies


(Includes any dependencies from ifs and menus.)


No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/i2c/Kconfig:59

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:38

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

config I2C_2
    bool "Enable I2C Port 2"
    depends on I2C

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