Rename KL version of CONFIG_GPIO_IRQ to CONFIG_KL_GPIOIRQ
This commit is contained in:
parent
5386403476
commit
3aea9b8bf3
|
@ -345,12 +345,12 @@ config KL_TPM2_CHANNEL
|
|||
|
||||
comment "Kinetis GPIO Interrupt Configuration"
|
||||
|
||||
config GPIO_IRQ
|
||||
config KL_GPIOIRQ
|
||||
bool "GPIO pin interrupts"
|
||||
---help---
|
||||
Enable support for interrupting GPIO pins
|
||||
|
||||
if GPIO_IRQ
|
||||
if KL_GPIOIRQ
|
||||
|
||||
config KL_PORTAINTS
|
||||
bool "GPIOA interrupts"
|
||||
|
|
|
@ -81,7 +81,7 @@ ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
|||
CHIP_CSRCS += kl_userspace.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_GPIO_IRQ),y)
|
||||
ifeq ($(CONFIG_KL_GPIOIRQ),y)
|
||||
CHIP_CSRCS += kl_gpioirq.c
|
||||
endif
|
||||
|
||||
|
|
|
@ -386,7 +386,7 @@ xcpt_t kl_gpioirqattach(uint32_t pinset, xcpt_t pinisr);
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KL_GPIOIRQ
|
||||
void kl_gpioirqenable(uint32_t pinset);
|
||||
#else
|
||||
# define kl_gpioirqenable(pinset)
|
||||
|
@ -400,7 +400,7 @@ void kl_gpioirqenable(uint32_t pinset);
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KL_GPIOIRQ
|
||||
void kl_gpioirqdisable(uint32_t pinset);
|
||||
#else
|
||||
# define kl_gpioirqdisable(pinset)
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#include "chip/kl_port.h"
|
||||
#include "kl_gpio.h"
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KL_GPIOIRQ
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -396,4 +396,4 @@ void kl_gpioirqdisable(uint32_t pinset)
|
|||
}
|
||||
#endif /* HAVE_PORTINTS */
|
||||
}
|
||||
#endif /* CONFIG_GPIO_IRQ */
|
||||
#endif /* CONFIG_KL_GPIOIRQ */
|
||||
|
|
|
@ -248,7 +248,7 @@ void up_irqinitialize(void)
|
|||
* configured pin interrupts.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KL_GPIOIRQ
|
||||
kl_gpioirqinitialize();
|
||||
#endif
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ CONFIG_ARCH_HAVE_CMNVECTOR=y
|
|||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL=y
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KL_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis Configuration Options
|
||||
|
|
|
@ -135,7 +135,7 @@ CONFIG_ARCH_HAVE_CMNVECTOR=y
|
|||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL=y
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KL_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis Configuration Options
|
||||
|
|
|
@ -135,7 +135,7 @@ CONFIG_ARCH_HAVE_CMNVECTOR=y
|
|||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL=y
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KL_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis Configuration Options
|
||||
|
|
|
@ -135,7 +135,7 @@ CONFIG_ARCH_HAVE_CMNVECTOR=y
|
|||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL=y
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KL_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis Configuration Options
|
||||
|
|
|
@ -136,7 +136,7 @@ CONFIG_ARCH_HAVE_CMNVECTOR=y
|
|||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABIL=y
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KL_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis Configuration Options
|
||||
|
|
Loading…
Reference in New Issue