mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
57 lines
1.3 KiB
Plaintext
57 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.
|
|
#
|
|
|
|
menuconfig MODULE_SHT1X
|
|
bool
|
|
prompt "SHT10/SHT11/SHT15 Humidity and Temperature Sensor" if !(HAVE_SHT1X && MODULE_SAUL_DEFAULT)
|
|
default y if HAVE_SHT1X && MODULE_SAUL_DEFAULT
|
|
depends on HAS_PERIPH_GPIO
|
|
depends on TEST_KCONFIG
|
|
select MODULE_PERIPH_GPIO
|
|
select MODULE_XTIMER
|
|
|
|
choice SHT1X_VARIANT
|
|
bool "Select sensor variant"
|
|
depends on MODULE_SHT1X
|
|
default MODULE_SHT10 if HAVE_SHT10
|
|
default MODULE_SHT11 if HAVE_SHT11
|
|
default MODULE_SHT15 if HAVE_SHT15
|
|
|
|
config MODULE_SHT10
|
|
bool "SHT10"
|
|
|
|
config MODULE_SHT11
|
|
bool "SHT11"
|
|
|
|
config MODULE_SHT15
|
|
bool "SHT15"
|
|
|
|
endchoice
|
|
|
|
config HAVE_SHT10
|
|
bool
|
|
select HAVE_SHT1X
|
|
help
|
|
Indicates that an sht10 humidity and temperature sensor is present.
|
|
|
|
config HAVE_SHT11
|
|
bool
|
|
select HAVE_SHT1X
|
|
help
|
|
Indicates that an sht11 humidity and temperature sensor is present.
|
|
|
|
config HAVE_SHT15
|
|
bool
|
|
select HAVE_SHT1X
|
|
help
|
|
Indicates that an sht15 humidity and temperature sensor is present.
|
|
|
|
config HAVE_SHT1X
|
|
bool
|
|
help
|
|
Indicates that an sht1x humidity and temperature sensor is present.
|