Rename Kinetis version of CONFIG_GPIO_IRQ to CONFIG_KINETIS_GPIOIRQ
This commit is contained in:
parent
264578135d
commit
5386403476
@ -483,12 +483,12 @@ config KINETIS_FTM2_CHANNEL
|
||||
|
||||
menu "Kinetis GPIO Interrupt Configuration"
|
||||
|
||||
config GPIO_IRQ
|
||||
config KINETIS_GPIOIRQ
|
||||
bool "GPIO pin interrupts"
|
||||
---help---
|
||||
Enable support for interrupting GPIO pins
|
||||
|
||||
if GPIO_IRQ
|
||||
if KINETIS_GPIOIRQ
|
||||
|
||||
config KINETIS_PORTAINTS
|
||||
bool "GPIOA interrupts"
|
||||
|
@ -103,7 +103,7 @@ ifeq ($(CONFIG_BUILD_PROTECTED),y)
|
||||
CHIP_CSRCS += kinetis_userspace.c kinetis_mpuinit.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_GPIO_IRQ),y)
|
||||
ifeq ($(CONFIG_KINETIS_GPIOIRQ),y)
|
||||
CHIP_CSRCS += kinetis_pinirq.c
|
||||
endif
|
||||
|
||||
|
@ -476,7 +476,7 @@ bool kinetis_gpioread(uint32_t pinset);
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KINETIS_GPIOIRQ
|
||||
void kinetis_pinirqinitialize(void);
|
||||
#else
|
||||
# define kinetis_pinirqinitialize()
|
||||
@ -514,7 +514,7 @@ xcpt_t kinetis_pinirqattach(uint32_t pinset, xcpt_t pinisr);
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KINETIS_GPIOIRQ
|
||||
void kinetis_pinirqenable(uint32_t pinset);
|
||||
#else
|
||||
# define kinetis_pinirqenable(pinset)
|
||||
@ -528,7 +528,7 @@ void kinetis_pinirqenable(uint32_t pinset);
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KINETIS_GPIOIRQ
|
||||
void kinetis_pinirqdisable(uint32_t pinset);
|
||||
#else
|
||||
# define kinetis_pinirqdisable(pinset)
|
||||
|
@ -439,7 +439,7 @@ void up_irqinitialize(void)
|
||||
* configured pin interrupts.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KINETIS_GPIOIRQ
|
||||
kinetis_pinirqinitialize();
|
||||
#endif
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include "kinetis.h"
|
||||
#include "chip/kinetis_port.h"
|
||||
|
||||
#ifdef CONFIG_GPIO_IRQ
|
||||
#ifdef CONFIG_KINETIS_GPIOIRQ
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -450,4 +450,4 @@ void kinetis_pinirqdisable(uint32_t pinset)
|
||||
}
|
||||
#endif /* HAVE_PORTINTS */
|
||||
}
|
||||
#endif /* CONFIG_GPIO_IRQ */
|
||||
#endif /* CONFIG_KINETIS_GPIOIRQ */
|
||||
|
@ -445,7 +445,7 @@ SD Card Support
|
||||
CONFIG_KINETIS_SDHC=y : To enable SDHC0 support
|
||||
|
||||
System Type
|
||||
CONFIG_GPIO_IRQ=y : GPIO interrupts needed
|
||||
CONFIG_KINETIS_GPIOIRQ=y : GPIO interrupts needed
|
||||
CONFIG_KINETIS_PORTEINTS=y : Card detect pin is on PTE6
|
||||
|
||||
Device Drivers -> MMC/SD Driver Support
|
||||
@ -784,7 +784,7 @@ Freedom K64F Configuration Options
|
||||
|
||||
PIN Interrupt Support
|
||||
|
||||
CONFIG_GPIO_IRQ -- Enable pin interrupt support. Also needs
|
||||
CONFIG_KINETIS_GPIOIRQ -- Enable pin interrupt support. Also needs
|
||||
one or more of the following:
|
||||
CONFIG_KINETIS_PORTAINTS -- Support 32 Port A interrupts
|
||||
CONFIG_KINETIS_PORTBINTS -- Support 32 Port B interrupts
|
||||
@ -973,4 +973,4 @@ Status
|
||||
USB device, however, has not yet been tested. I have not yet looked
|
||||
into 48MHz clocking requirements.
|
||||
|
||||
|
||||
|
||||
|
@ -236,7 +236,7 @@ CONFIG_KINETIS_ENET=y
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KINETIS_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis Ethernet Configuration
|
||||
|
@ -236,7 +236,7 @@ CONFIG_KINETIS_SDHC=y
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
CONFIG_GPIO_IRQ=y
|
||||
CONFIG_KINETIS_GPIOIRQ=y
|
||||
# CONFIG_KINETIS_PORTAINTS is not set
|
||||
# CONFIG_KINETIS_PORTBINTS is not set
|
||||
# CONFIG_KINETIS_PORTCINTS is not set
|
||||
|
@ -100,8 +100,8 @@
|
||||
|
||||
/* We expect to receive GPIO interrupts for card insertion events */
|
||||
|
||||
# ifndef CONFIG_GPIO_IRQ
|
||||
# error "CONFIG_GPIO_IRQ required for card detect interrupt"
|
||||
# ifndef CONFIG_KINETIS_GPIOIRQ
|
||||
# error "CONFIG_KINETIS_GPIOIRQ required for card detect interrupt"
|
||||
# endif
|
||||
|
||||
# ifndef CONFIG_KINETIS_PORTEINTS
|
||||
|
@ -461,7 +461,7 @@ KwikStik-K40-specific Configuration Options
|
||||
|
||||
PIN Interrupt Support
|
||||
|
||||
CONFIG_GPIO_IRQ -- Enable pin interrupt support. Also needs
|
||||
CONFIG_KINETIS_GPIOIRQ -- Enable pin interrupt support. Also needs
|
||||
one or more of the following:
|
||||
CONFIG_KINETIS_PORTAINTS -- Support 32 Port A interrupts
|
||||
CONFIG_KINETIS_PORTBINTS -- Support 32 Port B interrupts
|
||||
|
@ -220,7 +220,7 @@ CONFIG_KINETIS_UART5=y
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KINETIS_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis UART Configuration
|
||||
|
@ -98,8 +98,8 @@
|
||||
|
||||
/* We expect to receive GPIO interrupts for card insertion events */
|
||||
|
||||
#ifndef CONFIG_GPIO_IRQ
|
||||
# error "CONFIG_GPIO_IRQ required for card detect interrupt"
|
||||
#ifndef CONFIG_KINETIS_GPIOIRQ
|
||||
# error "CONFIG_KINETIS_GPIOIRQ required for card detect interrupt"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_KINETIS_PORTEINTS
|
||||
|
@ -226,7 +226,7 @@ CONFIG_KINETIS_UART0=y
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KINETIS_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis UART Configuration
|
||||
|
@ -218,7 +218,7 @@ CONFIG_KINETIS_USBOTG=y
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KINETIS_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis UART Configuration
|
||||
|
@ -605,7 +605,7 @@ TWR-K60N512-specific Configuration Options
|
||||
|
||||
PIN Interrupt Support
|
||||
|
||||
CONFIG_GPIO_IRQ -- Enable pin interrupt support. Also needs
|
||||
CONFIG_KINETIS_GPIOIRQ -- Enable pin interrupt support. Also needs
|
||||
one or more of the following:
|
||||
CONFIG_KINETIS_PORTAINTS -- Support 32 Port A interrupts
|
||||
CONFIG_KINETIS_PORTBINTS -- Support 32 Port B interrupts
|
||||
@ -687,7 +687,7 @@ Where <subdir> is one of the following:
|
||||
CONFIG_FAT_LFN=y : FAT long file name support
|
||||
CONFIG_FAT_MAXFNAME=32 : Maximum lenght of a long file name
|
||||
|
||||
CONFIG_GPIO_IRQ=y : Enable GPIO interrupts
|
||||
CONFIG_KINETIS_GPIOIRQ=y : Enable GPIO interrupts
|
||||
CONFIG_KINETIS_PORTEINTS=y : Enable PortE GPIO interrupts
|
||||
|
||||
CONFIG_SCHED_WORKQUEUE=y : Enable the NuttX workqueue
|
||||
|
@ -221,7 +221,7 @@ CONFIG_KINETIS_UART3=y
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
# CONFIG_KINETIS_GPIOIRQ is not set
|
||||
|
||||
#
|
||||
# Kinetis UART Configuration
|
||||
|
@ -98,8 +98,8 @@
|
||||
|
||||
/* We expect to receive GPIO interrupts for card insertion events */
|
||||
|
||||
#ifndef CONFIG_GPIO_IRQ
|
||||
# error "CONFIG_GPIO_IRQ required for card detect interrupt"
|
||||
#ifndef CONFIG_KINETIS_GPIOIRQ
|
||||
# error "CONFIG_KINETIS_GPIOIRQ required for card detect interrupt"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_KINETIS_PORTEINTS
|
||||
|
Loading…
Reference in New Issue
Block a user