aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-AT91SAM7X-GCC/board.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-26 21:03:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-26 21:03:05 +0000
commit780110bd2cbfd2adae472c5fcd7e014289559204 (patch)
treeba4ecbd1bfee8c5ec832a241d1a447f786a6ace9 /demos/ARM7-AT91SAM7X-GCC/board.c
parent0ed2cd487a83caf270e9893ac42f9e37e3789e25 (diff)
downloadChibiOS-780110bd2cbfd2adae472c5fcd7e014289559204.tar.gz
ChibiOS-780110bd2cbfd2adae472c5fcd7e014289559204.tar.bz2
ChibiOS-780110bd2cbfd2adae472c5fcd7e014289559204.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1327 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-GCC/board.c')
-rw-r--r--demos/ARM7-AT91SAM7X-GCC/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c
index 3faae501a..920ed7402 100644
--- a/demos/ARM7-AT91SAM7X-GCC/board.c
+++ b/demos/ARM7-AT91SAM7X-GCC/board.c
@@ -59,10 +59,12 @@ static CH_IRQ_HANDLER(SYSIrqHandler) {
/*
* Digital I/O ports static configuration as defined in @p board.h.
*/
-static const AT91SAM7XPIOConfig config =
+static const AT91SAM7PIOConfig config =
{
{VAL_PIOA_ODSR, VAL_PIOA_OSR, VAL_PIOA_PUSR},
+#if defined(SAM7X128) || defined(SAM7X256) || defined(SAM7X512)
{VAL_PIOB_ODSR, VAL_PIOB_OSR, VAL_PIOB_PUSR}
+#endif
};
/*