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

61 lines
1.3 KiB
Plaintext

# 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.
#
config MODULE_SI70XX
bool "Si7006/13/20/21 temperature and humidity sensors"
depends on TEST_KCONFIG
depends on HAS_PERIPH_I2C
select MODULE_PERIPH_I2C
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC
choice
bool "Sensor variant"
depends on MODULE_SI70XX
default MODULE_SI7006 if HAVE_SI7006
default MODULE_SI7013 if HAVE_SI7013
default MODULE_SI7020 if HAVE_SI7020
default MODULE_SI7021 if HAVE_SI7021
config MODULE_SI7006
bool "SI7006"
config MODULE_SI7013
bool "SI7013"
config MODULE_SI7020
bool "SI7020"
config MODULE_SI7021
bool "SI7021"
endchoice
config HAVE_SI7006
bool
select MODULE_SI70XX if MODULE_SAUL_DEFAULT
help
Indicates that a si7006 sensor is present.
config HAVE_SI7013
bool
select MODULE_SI70XX if MODULE_SAUL_DEFAULT
help
Indicates that a si7013 sensor is present.
config HAVE_SI7020
bool
select MODULE_SI70XX if MODULE_SAUL_DEFAULT
help
Indicates that a si7020 sensor is present.
config HAVE_SI7021
bool
select MODULE_SI70XX if MODULE_SAUL_DEFAULT
help
Indicates that a si7021 sensor is present.