telem3-fw/drivers/sensor/examplesensor/Kconfig
Gerard Marull-Paretas 57a7702f1b drivers: sensor: examplesensor: use DT_HAS_* helper
Make zephyr,examplesensor driver option dependent on it being defined in
Kconfig and set its default based on DT status as well.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-08-02 15:28:49 +02:00

10 lines
227 B
Plaintext

# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config EXAMPLESENSOR
bool "Example sensor"
default y
depends on GPIO && DT_HAS_ZEPHYR_EXAMPLESENSOR_ENABLED
help
Enable example sensor