This is the documentation for the latest (main) 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.

CONFIG_I2C_SHELL

Enable I2C Shell

Type: bool

Help

Enable I2C Shell.

The I2C shell currently support scanning and bus recovery.

Direct dependencies

SHELL && I2C

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/i2c/Kconfig:16

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:40

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

config I2C_SHELL
    bool "Enable I2C Shell"
    default y
    depends on SHELL && I2C
    help
      Enable I2C Shell.

      The I2C shell currently support scanning and bus recovery.

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