diff options
Diffstat (limited to 'nuttx/arch/avr/src/at91uc3/at91uc3_config.h')
-rwxr-xr-x | nuttx/arch/avr/src/at91uc3/at91uc3_config.h | 6 |
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 ************************************************************************************/ |