drivers/mhz19: add modules to Kconfig
This commit is contained in:
parent
a155b3f28e
commit
e977dec8fb
@ -88,6 +88,7 @@ rsource "lsm6dsl/Kconfig"
|
|||||||
rsource "lsm303dlhc/Kconfig"
|
rsource "lsm303dlhc/Kconfig"
|
||||||
rsource "ltc4150/Kconfig"
|
rsource "ltc4150/Kconfig"
|
||||||
rsource "mag3110/Kconfig"
|
rsource "mag3110/Kconfig"
|
||||||
|
rsource "mhz19/Kconfig"
|
||||||
rsource "mma8x5x/Kconfig"
|
rsource "mma8x5x/Kconfig"
|
||||||
rsource "opt3001/Kconfig"
|
rsource "opt3001/Kconfig"
|
||||||
rsource "pca9633/Kconfig"
|
rsource "pca9633/Kconfig"
|
||||||
|
|||||||
32
drivers/mhz19/Kconfig
Normal file
32
drivers/mhz19/Kconfig
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user