1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/si114x: add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2021-01-05 18:59:00 +01:00
parent f1f58018ad
commit 60f60798d1
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 37 additions and 0 deletions

View File

@ -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"

36
drivers/si114x/Kconfig Normal file
View File

@ -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