diff --git a/drivers/sensor/examplesensor/Kconfig b/drivers/sensor/examplesensor/Kconfig index 1cb49b2..384a5fa 100644 --- a/drivers/sensor/examplesensor/Kconfig +++ b/drivers/sensor/examplesensor/Kconfig @@ -3,6 +3,7 @@ config EXAMPLESENSOR bool "Example sensor" - depends on GPIO + default y + depends on GPIO && DT_HAS_ZEPHYR_EXAMPLESENSOR_ENABLED help Enable example sensor