summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/at91uc3/at91uc3_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/avr/src/at91uc3/at91uc3_config.h')
-rwxr-xr-xnuttx/arch/avr/src/at91uc3/at91uc3_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/avr/src/at91uc3/at91uc3_config.h b/nuttx/arch/avr/src/at91uc3/at91uc3_config.h
index d33ca1f1a..eed6d3f0f 100755
--- a/nuttx/arch/avr/src/at91uc3/at91uc3_config.h
+++ b/nuttx/arch/avr/src/at91uc3/at91uc3_config.h
@@ -154,6 +154,12 @@
# define CONFIG_USE_EARLYSERIALINIT 1
#endif
+/* If GPIO IRQ support is defined, then a set of GPIOs must all be included */
+
+#if CONFIG_AVR32_GPIOIRQSETA == 0 && CONFIG_AVR32_GPIOIRQSETB == 0
+# undef CONFIG_AVR32_GPIOIRQ
+#endif
+
/************************************************************************************
* Public Types
************************************************************************************/