zephyr/samples/sensor/sensor_shell/Kconfig
Benjamin Cabé 86eea62e0b samples: sensor: Use dedicated overlay for fake sensor in sensor_shell
Using an app.overlay file is inherently preventing the use of board
overlays. Switch to a dedicated overlay file so that e.g.
the vmu_rt1170/mimxrt1176/cm7 board target can pass this test where
before it would have failed due to its board-specific overlay "winning"
over the app.overlay file.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-02-24 10:49:52 +01:00

13 lines
355 B
Plaintext

# Copyright (c) 2023 Google LLC
# SPDX-License-Identifier: Apache-2.0
config SAMPLES_SENSOR_SHELL_FAKE_SENSOR
bool "Enable fake sensor"
default y
depends on DT_HAS_VND_FAKE_SENSOR_ENABLED
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"