From ef71ff5199657c92719f53a3af646a9f16a922ff Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 19 Nov 2021 09:34:47 +0100 Subject: [PATCH] drivers/hdc1000/kconfig: add hardware feature --- drivers/hdc1000/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/hdc1000/Kconfig b/drivers/hdc1000/Kconfig index 236cabd086..185f6b3316 100644 --- a/drivers/hdc1000/Kconfig +++ b/drivers/hdc1000/Kconfig @@ -12,6 +12,12 @@ config MODULE_HDC1000 select MODULE_PERIPH_I2C select MODULE_XTIMER +config HAVE_HDC1000 + bool + select MODULE_HDC1000 if MODULE_SAUL_DEFAULT + help + Indicates that an hdc1000 humidity and temperature sensor is present. + menuconfig KCONFIG_USEMODULE_HDC1000 bool "Configure HDC1000 driver" depends on USEMODULE_HDC1000