1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/mhz19/Kconfig

46 lines
1.0 KiB
Plaintext
Raw Normal View History

2020-12-08 15:57:22 +01:00
# 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.
#
2022-03-02 14:03:47 +01:00
menuconfig MODULE_MHZ19
bool
prompt "MH-Z19 CO2 sensor" if !(MODULE_SAUL_DEFAULT && HAVE_MHZ19)
default (MODULE_SAUL_DEFAULT && HAVE_MHZ19)
depends on TEST_KCONFIG
2021-12-01 14:32:41 +01:00
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC
2020-12-08 15:57:22 +01:00
2022-03-02 14:03:47 +01:00
if MODULE_MHZ19
2020-12-08 15:57:22 +01:00
config MODULE_MHZ19_PWM
bool "MH-Z19 over PWM"
2022-03-02 14:03:47 +01:00
default HAVE_MHZ19_PWM
2020-12-08 15:57:22 +01:00
depends on HAS_PERIPH_GPIO
select MODULE_PERIPH_GPIO
2022-03-02 14:03:47 +01:00
config MODULE_MHZ19_UART
bool "MH-Z19 over UART"
default HAVE_MHZ19_UART
depends on HAS_PERIPH_UART
select MODULE_PERIPH_UART
endif # MODULE_MHZ19
config HAVE_MHZ19
2020-12-08 15:57:22 +01:00
bool
2022-03-02 14:03:47 +01:00
help
Indicates that a MH-Z19 CO2 sensor is present.
2020-12-08 15:57:22 +01:00
2022-03-02 14:03:47 +01:00
config HAVE_MHZ19_PWM
bool
help
Indicates that a MH-Z19 CO2 sensor is present on the pwm.
2020-12-08 15:57:22 +01:00
2022-03-02 14:03:47 +01:00
config HAVE_MHZ19_UART
bool
help
Indicates that a MH-Z19 CO2 sensor is present on the uart.