aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-G++/board.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-06-07 17:53:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-06-07 17:53:23 +0000
commitbe1e6b03d4a49b6fa16c3368435089f8706fb566 (patch)
treeea4aca882019de105a00451e379ca55955c38dfb /demos/ARM7-LPC214x-G++/board.h
parentb2e6f6a6a5ee0af322472c151565be6cba0e1fa0 (diff)
downloadChibiOS-be1e6b03d4a49b6fa16c3368435089f8706fb566.tar.gz
ChibiOS-be1e6b03d4a49b6fa16c3368435089f8706fb566.tar.bz2
ChibiOS-be1e6b03d4a49b6fa16c3368435089f8706fb566.zip
Adjusted PAL support for LPC214x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1026 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-G++/board.h')
-rw-r--r--demos/ARM7-LPC214x-G++/board.h26
1 files changed, 11 insertions, 15 deletions
diff --git a/demos/ARM7-LPC214x-G++/board.h b/demos/ARM7-LPC214x-G++/board.h
index ee30559c8..fee4baa61 100644
--- a/demos/ARM7-LPC214x-G++/board.h
+++ b/demos/ARM7-LPC214x-G++/board.h
@@ -24,10 +24,6 @@
#include "lpc214x.h"
#endif
-#ifndef _IOPORTS_LLD_H_
-#include "ioports.h"
-#endif
-
#define BOARD_OLIMEX_LCP_P2148
/*
@@ -69,17 +65,17 @@
#define VAL_FIO0DIR 0xB0703C00
#define VAL_FIO1DIR 0x00000000
-#define PA_LED1 IOPORT_BIT(10)
-#define PA_LED2 IOPORT_BIT(11)
-#define PA_BUZZ1 IOPORT_BIT(12)
-#define PA_BUZZ2 IOPORT_BIT(13)
-#define PA_BSL IOPORT_BIT(14)
-#define PA_BUTTON1 IOPORT_BIT(15)
-#define PA_BUTTON2 IOPORT_BIT(16)
-#define PA_SSEL1 IOPORT_BIT(20)
-#define PA_LEDUSB IOPORT_BIT(31)
+#define PA_LED1 10
+#define PA_LED2 11
+#define PA_BUZZ1 12
+#define PA_BUZZ2 13
+#define PA_BSL 14
+#define PA_BUTTON1 15
+#define PA_BUTTON2 16
+#define PA_SSEL1 20
+#define PA_LEDUSB 31
-#define PB_WP1 IOPORT_BIT(24)
-#define PB_CP1 IOPORT_BIT(25)
+#define PB_WP1 24
+#define PB_CP1 25
#endif /* _BOARD_H_ */