diff --git a/drivers/Kconfig b/drivers/Kconfig index f484aebeef..e0f86098c0 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -116,6 +116,7 @@ rsource "sht2x/Kconfig" rsource "sht3x/Kconfig" rsource "shtc1/Kconfig" rsource "si70xx/Kconfig" +rsource "si114x/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" diff --git a/drivers/si114x/Kconfig b/drivers/si114x/Kconfig new file mode 100644 index 0000000000..e6eb07c3b9 --- /dev/null +++ b/drivers/si114x/Kconfig @@ -0,0 +1,36 @@ +# 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 "Si1145/6/7 UV/Ambient light/Proximity sensors" + optional + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + +config MODULE_SI1145 + bool "SI1145" + select MODULE_SI114X + +config MODULE_SI1146 + bool "SI1146" + select MODULE_SI114X + +config MODULE_SI1147 + bool "SI1147" + select MODULE_SI114X + +endchoice + +config MODULE_SI114X + bool + depends on HAS_PERIPH_I2C + select MODULE_PERIPH_I2C + select MODULE_XTIMER + +endif # TEST_KCONFIG