drivers/ccs811: add modules to Kconfig
This commit is contained in:
parent
dd2e299ce5
commit
bf2486a195
@ -39,6 +39,7 @@ rsource "bme680/Kconfig"
|
|||||||
rsource "bmp180/Kconfig"
|
rsource "bmp180/Kconfig"
|
||||||
rsource "bmx055/Kconfig"
|
rsource "bmx055/Kconfig"
|
||||||
rsource "bmx280/Kconfig"
|
rsource "bmx280/Kconfig"
|
||||||
|
rsource "ccs811/Kconfig"
|
||||||
rsource "fxos8700/Kconfig"
|
rsource "fxos8700/Kconfig"
|
||||||
rsource "gp2y10xx/Kconfig"
|
rsource "gp2y10xx/Kconfig"
|
||||||
rsource "hdc1000/Kconfig"
|
rsource "hdc1000/Kconfig"
|
||||||
|
|||||||
28
drivers/ccs811/Kconfig
Normal file
28
drivers/ccs811/Kconfig
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user