Add a simple fake sensor driver so that the sample is more fun for boards without real sensor. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
11 lines
301 B
Plaintext
11 lines
301 B
Plaintext
# Copyright (c) 2023 Google LLC
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SAMPLES_SENSOR_SHELL_FAKE_SENSOR
|
|
bool "Enable fake sensor"
|
|
help
|
|
On boards that do not have a sensor, enabling this will build a fake
|
|
sensor that can be interacted with via the sensor shell.
|
|
|
|
source "Kconfig.zephyr"
|