diff --git a/drivers/Kconfig b/drivers/Kconfig index b3183c04e2..f484aebeef 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -115,6 +115,7 @@ rsource "sht1x/Kconfig" rsource "sht2x/Kconfig" rsource "sht3x/Kconfig" rsource "shtc1/Kconfig" +rsource "si70xx/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/si70xx/Kconfig b/drivers/si70xx/Kconfig new file mode 100644 index 0000000000..4b20913573 --- /dev/null +++ b/drivers/si70xx/Kconfig @@ -0,0 +1,40 @@ +# Copyright (c) 2021 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +if TEST_KCONFIG + +choice + bool "Si7006/13/20/21 temperature and humidity sensors" + optional + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + +config MODULE_SI7006 + bool "SI7006" + select MODULE_SI70XX + +config MODULE_SI7013 + bool "SI7013" + select MODULE_SI70XX + +config MODULE_SI7020 + bool "SI7020" + select MODULE_SI70XX + +config MODULE_SI7021 + bool "SI7021" + select MODULE_SI70XX + +endchoice + +config MODULE_SI70XX + bool + depends on HAS_PERIPH_I2C + select MODULE_PERIPH_I2C + select MODULE_XTIMER + +endif # TEST_KCONFIG