zephyr/drivers/gpio/Kconfig.nrf5
David B. Kinder ac74d8b652 license: Replace Apache boilerplate with SPDX tag
Replace the existing Apache 2.0 boilerplate header with an SPDX tag
throughout the zephyr code tree. This patch was generated via a
script run over the master branch.

Also updated doc/porting/application.rst that had a dependency on
line numbers in a literal include.

Manually updated subsys/logging/sys_log.c that had a malformed
header in the original file.  Also cleanup several cases that already
had a SPDX tag and we either got a duplicate or missed updating.

Jira: ZEP-1457

Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-01-19 03:50:58 +00:00

40 lines
858 B
Plaintext

# Kconfig.nrf5 - Nordic Semiconductor nRF5X GPIO configuration options
#
# Copyright (c) 2016 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig GPIO_NRF5
bool "Nordic Semiconductor nRF5X-based GPIO driver"
depends on GPIO && SOC_FAMILY_NRF5
default n
help
Enable GPIO driver for nRF5 line of MCUs.
if GPIO_NRF5
config GPIO_NRF5_P0
bool "nRF5x GPIO Port P0 options"
default n
help
Enable nRF5 GPIO port P0 config options.
config GPIO_NRF5_P0_DEV_NAME
string "GPIO Port P0 Device Name"
depends on GPIO_NRF5_P0
default "GPIO_0"
help
Specify the device name to be used for the GPIO port.
config GPIO_NRF5_PORT_P0_PRI
int "GPIOTE P0 interrupt priority"
depends on GPIO_NRF5_P0
range 0 1 if SOC_SERIES_NRF51X
range 0 5 if SOC_SERIES_NRF52X
default 1
help
nRF5X Port P0 IRQ priority.
endif # GPIO_NRF5