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_SENSOR_SHELL

Enable sensor shell

Type: bool

Help

This shell provides access to basic sensor data.

Direct dependencies

SHELL && SENSOR

(Includes any dependencies from ifs and menus.)

Default

Symbols selected by this symbol

Kconfig definition

At drivers/sensor/Kconfig:23

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:64

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

config SENSOR_SHELL
    bool "Enable sensor shell"
    default y if !SHELL_MINIMAL
    select CBPRINTF_FP_SUPPORT
    depends on SHELL && SENSOR
    help
      This shell provides access to basic sensor data.

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