zephyr/drivers/sensor/nrf5/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

32 lines
599 B
Plaintext

# Kconfig - nRF5 temperature sensor configuration options
#
# Copyright (c) 2016 ARM Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig TEMP_NRF5
bool "nRF5 Temperature Sensor"
depends on SOC_FAMILY_NRF
help
Enable driver for nRF5 temperature sensor.
if TEMP_NRF5
config TEMP_NRF5_NAME
string "Driver name"
default "TEMP_0"
help
Device name with which the nRF5 temperature sensor is identified.
config TEMP_NRF5_PRI
int "TEMP interrupt priority"
range 0 1 if SOC_SERIES_NRF51X
range 0 5 if SOC_SERIES_NRF52X
default 1
help
nRF5X TEMP IRQ priority.
endif # TEMP_NRF5