aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-30 15:45:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-30 15:45:38 +0000
commit43f9fd4180030081daae9122bd57a521ec9c58e1 (patch)
treeaf4185a0b33d984503a16c0b55e2febe2a9a73bf /demos
parent5ccb308ed861f6f7a42b7d826e939fd8efa68bac (diff)
downloadChibiOS-43f9fd4180030081daae9122bd57a521ec9c58e1.tar.gz
ChibiOS-43f9fd4180030081daae9122bd57a521ec9c58e1.tar.bz2
ChibiOS-43f9fd4180030081daae9122bd57a521ec9c58e1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1258 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARM7-AT91SAM7X-GCC/board.c3
-rw-r--r--demos/ARM7-AT91SAM7X-LWIP-GCC/board.c3
-rw-r--r--demos/ARM7-AT91SAM7X-UIP-GCC/board.c3
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;