zephyr/drivers/sensor/pms7003/Kconfig
Maureen Helm ab9017ec83 sensor: Eliminate repetitive Kconfig "depends on" in sensor drivers
For each sensor driver, wrap all Kconfig symbols in a big if/endif
conditional rather than repeating "depends on" for each symbol.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2018-09-13 01:02:37 -04:00

26 lines
461 B
Plaintext

# Kconfig - PMS7003 particulate matter sensor configuration options
#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig PMS7003
bool "PMS7003 particulate matter sensor"
depends on SERIAL
help
Enable driver for pms7003 particulate matter sensor.
if PMS7003
config PMS7003_UART_DEVICE
string "UART device"
default "UART_3"
config PMS7003_DRIVER_NAME
string "Driver name"
default "PMS7003"
endif # PMS7003