diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/board.c | 3 | ||||
-rw-r--r-- | demos/ARM7-AT91SAM7X-LWIP-GCC/board.c | 3 | ||||
-rw-r--r-- | demos/ARM7-AT91SAM7X-UIP-GCC/board.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c index 31e362845..3faae501a 100644 --- a/demos/ARM7-AT91SAM7X-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-GCC/board.c @@ -25,7 +25,7 @@ #include "at91lib/aic.h"
/*
- * FIQ Handler weak symbol defined in vectors.s. + * FIQ Handler weak symbol defined in vectors.s.
*/
void FiqHandler(void);
@@ -123,6 +123,7 @@ void hwinit1(void) { * Default AIC setup, the device drivers will modify it as needed.
*/
AT91C_BASE_AIC->AIC_ICCR = 0xFFFFFFFF;
+ AT91C_BASE_AIC->AIC_IDCR = 0xFFFFFFFF;
AT91C_BASE_AIC->AIC_SVR[0] = (AT91_REG)FiqHandler;
for (i = 1; i < 31; i++) {
AT91C_BASE_AIC->AIC_SVR[i] = (AT91_REG)NULL;
diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/board.c b/demos/ARM7-AT91SAM7X-LWIP-GCC/board.c index 5b95524f8..e988aaa86 100644 --- a/demos/ARM7-AT91SAM7X-LWIP-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/board.c @@ -26,7 +26,7 @@ #include "at91lib/aic.h"
/*
- * FIQ Handler weak symbol defined in vectors.s. + * FIQ Handler weak symbol defined in vectors.s.
*/
void FiqHandler(void);
@@ -124,6 +124,7 @@ void hwinit1(void) { * Default AIC setup, the device drivers will modify it as needed.
*/
AT91C_BASE_AIC->AIC_ICCR = 0xFFFFFFFF;
+ AT91C_BASE_AIC->AIC_IDCR = 0xFFFFFFFF;
AT91C_BASE_AIC->AIC_SVR[0] = (AT91_REG)FiqHandler;
for (i = 1; i < 31; i++) {
AT91C_BASE_AIC->AIC_SVR[i] = (AT91_REG)NULL;
diff --git a/demos/ARM7-AT91SAM7X-UIP-GCC/board.c b/demos/ARM7-AT91SAM7X-UIP-GCC/board.c index 348f4bb99..9dbd5f0e4 100644 --- a/demos/ARM7-AT91SAM7X-UIP-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-UIP-GCC/board.c @@ -27,7 +27,7 @@ /*
- * FIQ Handler weak symbol defined in vectors.s. + * FIQ Handler weak symbol defined in vectors.s.
*/
void FiqHandler(void);
@@ -125,6 +125,7 @@ void hwinit1(void) { * Default AIC setup, the device drivers will modify it as needed.
*/
AT91C_BASE_AIC->AIC_ICCR = 0xFFFFFFFF;
+ AT91C_BASE_AIC->AIC_IDCR = 0xFFFFFFFF;
AT91C_BASE_AIC->AIC_SVR[0] = (AT91_REG)FiqHandler;
for (i = 1; i < 31; i++) {
AT91C_BASE_AIC->AIC_SVR[i] = (AT91_REG)NULL;
|