summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-24 10:44:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-24 10:44:43 -0600
commit893072fd0562c8077bb9f70c0d5a1eaa3e756831 (patch)
treeb71811fa74df08c8711756d94ff8349bde56977c
parenta0837e77559131e098d19074643a6c8e1986774e (diff)
downloadnuttx-893072fd0562c8077bb9f70c0d5a1eaa3e756831.tar.gz
nuttx-893072fd0562c8077bb9f70c0d5a1eaa3e756831.tar.bz2
nuttx-893072fd0562c8077bb9f70c0d5a1eaa3e756831.zip
SAM3/4: Fix conditional compilation in GPIO IRQ logic
-rw-r--r--nuttx/arch/arm/src/sam34/sam_gpio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sam34/sam_gpio.h b/nuttx/arch/arm/src/sam34/sam_gpio.h
index e0fced58d..ae2984901 100644
--- a/nuttx/arch/arm/src/sam34/sam_gpio.h
+++ b/nuttx/arch/arm/src/sam34/sam_gpio.h
@@ -70,7 +70,8 @@
/* Configuration ********************************************************************/
#if defined(CONFIG_SAM34_GPIOA_IRQ) || defined(CONFIG_SAM34_GPIOB_IRQ) || \
- defined(CONFIG_SAM34_GPIOC_IRQ)
+ defined(CONFIG_SAM34_GPIOC_IRQ) || defined(CONFIG_SAM34_GPIOD_IRQ) || \
+ defined(CONFIG_SAM34_GPIOE_IRQ) || defined(CONFIG_SAM34_GPIOF_IRQ)
# define CONFIG_SAM34_GPIO_IRQ 1
#else
# undef CONFIG_SAM34_GPIO_IRQ