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

drivers/mhz19: add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-12-08 15:57:22 +01:00
parent a155b3f28e
commit e977dec8fb
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 33 additions and 0 deletions

View File

@ -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"

32
drivers/mhz19/Kconfig Normal file
View File

@ -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