diff --git a/drivers/Kconfig b/drivers/Kconfig index 4f92a4f76a..ddd620b3ab 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -88,6 +88,7 @@ rsource "lsm6dsl/Kconfig" rsource "lsm303dlhc/Kconfig" rsource "ltc4150/Kconfig" rsource "mag3110/Kconfig" +rsource "mhz19/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" diff --git a/drivers/mhz19/Kconfig b/drivers/mhz19/Kconfig new file mode 100644 index 0000000000..3b1f7c34b2 --- /dev/null +++ b/drivers/mhz19/Kconfig @@ -0,0 +1,32 @@ +# 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. +# + +if TEST_KCONFIG + +menu "MH-Z19 CO2 sensor" + depends on HAS_PERIPH_GPIO || HAS_PERIPH_UART + +config MODULE_MHZ19_UART + bool "MH-Z19 over UART" + depends on HAS_PERIPH_UART + select MODULE_PERIPH_UART + select MODULE_MHZ19 + select MODULE_XTIMER + +config MODULE_MHZ19_PWM + bool "MH-Z19 over PWM" + depends on HAS_PERIPH_GPIO + select MODULE_PERIPH_GPIO + select MODULE_MHZ19 + select MODULE_XTIMER + +config MODULE_MHZ19 + bool + +endmenu # MH-Z19 CO2 sensor + +endif # TEST_KCONFIG