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

33 lines
973 B
Plaintext
Raw Normal View History

2021-03-23 12:09:27 +01:00
# Copyright (c) 2021 Inria
#
# 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.
#
2022-03-02 14:03:55 +01:00
menuconfig MODULE_SGP30
bool
prompt "SGP30 Particulate Matter Sensor" if !(MODULE_SAUL_DEFAULT && HAVE_SGP30)
default (MODULE_SAUL_DEFAULT && HAVE_SGP30)
2021-03-23 12:09:27 +01:00
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_CHECKSUM
select MODULE_PERIPH_I2C
select MODULE_ZTIMER
select MODULE_ZTIMER_PERIPH_TIMER
select ZTIMER_USEC
2021-03-23 12:09:27 +01:00
config MODULE_SGP30_STRICT
bool "Strict reading period"
depends on MODULE_SGP30
default y
help
If this module is enabled regular measurements will be performed
every second and no values will be returned before the 15s warmup
period, see the datasheet for more.
2022-03-02 14:03:55 +01:00
config HAVE_SGP30
bool
help
Indicates that a SGP30 Particulate Matter Sensor is present.