subsys/shell: Introduce the Sensor Shell Module
Adds a Shell Module for retrieving Sensor data. The following commands were added: sensor - Device commands Options: -h, --help :Show command help. Subcommands: get :<device_name> [chanel_idx] list :List configured sensors list_channels :<device_name> Signed-off-by: Diego Sueiro <diego.sueiro@gmail.com>
This commit is contained in:
parent
bb95dce98c
commit
93e1560faa
3 changed files with 202 additions and 0 deletions
|
@ -20,6 +20,11 @@ config SENSOR_INIT_PRIORITY
|
|||
help
|
||||
Sensor initialization priority.
|
||||
|
||||
config SENSOR_SHELL
|
||||
bool "Enable sensor shell"
|
||||
help
|
||||
This shell provides access to basic sensor data.
|
||||
|
||||
comment "Device Drivers"
|
||||
|
||||
source "drivers/sensor/adt7420/Kconfig"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue