The latest development version of this page may be more current than this released 2.7.5 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:42drivers/Kconfig:42

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.)