zephyr/drivers/sensor/nrf5/Kconfig
Piotr Mienkowski c1f8eb4182 drivers: sensor: clean up Kconfig files
- place all sensor Kconfig options in submenu
- separate device drivers and common options with a comment line
- align help text

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2017-09-21 15:47:58 -04:00

33 lines
638 B
Plaintext

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