1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

drivers/ccs811: add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-11-18 11:02:00 +01:00
parent dd2e299ce5
commit bf2486a195
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 29 additions and 0 deletions

View File

@ -39,6 +39,7 @@ rsource "bme680/Kconfig"
rsource "bmp180/Kconfig"
rsource "bmx055/Kconfig"
rsource "bmx280/Kconfig"
rsource "ccs811/Kconfig"
rsource "fxos8700/Kconfig"
rsource "gp2y10xx/Kconfig"
rsource "hdc1000/Kconfig"

28
drivers/ccs811/Kconfig Normal file
View File

@ -0,0 +1,28 @@
# Copyright (c) 2020 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_CCS811
bool "CCS811 digital gas sensor"
depends on HAS_PERIPH_GPIO
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_I2C
select MODULE_XTIMER
config MODULE_CCS811_FULL
bool "Full functionalities"
depends on MODULE_CCS811
depends on HAS_PERIPH_GPIO_IRQ
select MODULE_PERIPH_GPIO_IRQ
help
Say n if code size is critical, otherwise using the this module is
recommended.
Features included by this module are:
- data ready and threshold interrupt handling
- compensate gas readings using an external sensor
- manual baseline handling