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

drivers/si70xx: add modules to Kconfig

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

View File

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

40
drivers/si70xx/Kconfig Normal file
View File

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