From 66c2d2ecc48b45f2952e19d1df4b0c3e137a8a36 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Wed, 31 May 2023 17:34:33 +0200 Subject: [PATCH] arch/nrf53/Kconfig: move GPIO configuration menu to match nrf52 --- arch/arm/src/nrf53/Kconfig | 42 +++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/arch/arm/src/nrf53/Kconfig b/arch/arm/src/nrf53/Kconfig index dd5fa51106..6767d54ca7 100644 --- a/arch/arm/src/nrf53/Kconfig +++ b/arch/arm/src/nrf53/Kconfig @@ -447,6 +447,27 @@ config NRF53_PROGMEM ---help--- Enable support FLASH interfaces as defined in include/nuttx/progmem.h +menu "GPIO Interrupt Configuration" + +config NRF53_PER_PIN_INTERRUPTS + bool "Per-pin interrupt callbacks" + default !DEFAULT_SMALL + depends on NRF53_GPIOTE + ---help--- + The GPIOTE peripheral supports a limited number of channels which can + be set to EVENT mode and thus generate interrupts on pin state changes. + Another mechanism offered by the GPIO/GPIOTE peripherals is the PORT + event. This event is generated from a signal shared by all pins in + the GPIO port. + + This option enables the ability to set per-pin callbacks that will + be invoked from the main GPIOTE ISR when a PORT event is generated. + As this involves extra storage to store each callback, this option can + be disabled to save space. In such case, it is possible to set a callback + for the whole PORT event directly. + +endmenu # GPIO Interrupt Configuration + menu "PWM configuration" if NRF53_PWM @@ -627,27 +648,6 @@ endif # NRF53_SAADC endmenu # SAADC Configuration -menu "GPIO Interrupt Configuration" - -config NRF53_PER_PIN_INTERRUPTS - bool "Per-pin interrupt callbacks" - default !DEFAULT_SMALL - depends on NRF53_GPIOTE - ---help--- - The GPIOTE peripheral supports a limited number of channels which can - be set to EVENT mode and thus generate interrupts on pin state changes. - Another mechanism offered by the GPIO/GPIOTE peripherals is the PORT - event. This event is generated from a signal shared by all pins in - the GPIO port. - - This option enables the ability to set per-pin callbacks that will - be invoked from the main GPIOTE ISR when a PORT event is generated. - As this involves extra storage to store each callback, this option can - be disabled to save space. In such case, it is possible to set a callback - for the whole PORT event directly. - -endmenu # GPIO Interrupt Configuration - menu "SPI Configuration" if NRF53_SPI_MASTER