2018-06-19 15:28:49 +08:00
|
|
|
# Copyright (c) 2018 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-09-05 18:28:45 +08:00
|
|
|
menuconfig GPIO_NRFX
|
2018-06-19 15:28:49 +08:00
|
|
|
bool "nRF GPIO driver"
|
2018-12-11 21:22:57 +08:00
|
|
|
default y
|
2022-07-21 01:07:47 +08:00
|
|
|
depends on DT_HAS_NORDIC_NRF_GPIO_ENABLED
|
2024-01-08 16:45:46 +08:00
|
|
|
select NRFX_GPIOTE0 if HAS_HW_NRF_GPIOTE0
|
|
|
|
select NRFX_GPIOTE1 if HAS_HW_NRF_GPIOTE1
|
|
|
|
select NRFX_GPIOTE20 if HAS_HW_NRF_GPIOTE20
|
|
|
|
select NRFX_GPIOTE30 if HAS_HW_NRF_GPIOTE30
|
|
|
|
select NRFX_GPIOTE130 if HAS_HW_NRF_GPIOTE130
|
|
|
|
select NRFX_GPIOTE131 if HAS_HW_NRF_GPIOTE131
|
2018-06-19 15:28:49 +08:00
|
|
|
help
|
|
|
|
Enable GPIO driver for nRF line of MCUs.
|
2023-09-05 18:28:45 +08:00
|
|
|
|
|
|
|
config GPIO_NRFX_INTERRUPT
|
|
|
|
bool "Interrupt support"
|
|
|
|
depends on GPIO_NRFX
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
The option can be used to disable the GPIO interrupt support to
|
|
|
|
significantly reduce memory footprint in case of application that does
|
|
|
|
not need GPIO interrupts.
|