diff --git a/drivers/Kconfig b/drivers/Kconfig index e7641db3c2..d9beff0f81 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -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" diff --git a/drivers/ccs811/Kconfig b/drivers/ccs811/Kconfig new file mode 100644 index 0000000000..fd50203f37 --- /dev/null +++ b/drivers/ccs811/Kconfig @@ -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