57a7702f1b
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>
10 lines
227 B
Plaintext
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
|