Another fix to SAM3/4 GPIO IRQ issue

This commit is contained in:
Gregory Nutt 2014-10-24 10:55:52 -06:00
parent 69966a1b62
commit 6d4f448c31

View File

@ -55,9 +55,19 @@
#include "sam_gpio.h"
#include "sam_periphclks.h"
#include "chip/sam3u_pio.h"
#include "chip/sam_pmc.h"
#if defined(CONFIG_ARCH_CHIP_SAM3U) || defined(CONFIG_ARCH_CHIP_SAM3X) || \
defined(CONFIG_ARCH_CHIP_SAM3A)
# include "chip/sam3u_pio.h"
#elif defined(CONFIG_ARCH_CHIP_SAM4E)
# include "chip/sam4e_pio.h"
#elif defined(CONFIG_ARCH_CHIP_SAM4CM) || defined(CONFIG_ARCH_CHIP_SAM4S)
# include "chip/sam4s_pio.h"
#else
# error Unrecognized SAM architecture
#endif
#ifdef CONFIG_SAM34_GPIO_IRQ
/****************************************************************************