aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-24 20:15:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-24 20:15:31 +0000
commit0ea6e1645de5202f019a87656c3dc83780253cb9 (patch)
tree806579b88ec1da9c451465a79e68d52d2d2ef957 /boards
parentda7438dffea3781f9228d6f322c6912631bb9a19 (diff)
downloadChibiOS-0ea6e1645de5202f019a87656c3dc83780253cb9.tar.gz
ChibiOS-0ea6e1645de5202f019a87656c3dc83780253cb9.tar.bz2
ChibiOS-0ea6e1645de5202f019a87656c3dc83780253cb9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2287 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r--boards/EA_LPCXPRESSO_BB_1114/board.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/boards/EA_LPCXPRESSO_BB_1114/board.h b/boards/EA_LPCXPRESSO_BB_1114/board.h
index 60126b548..e7f2b22d8 100644
--- a/boards/EA_LPCXPRESSO_BB_1114/board.h
+++ b/boards/EA_LPCXPRESSO_BB_1114/board.h
@@ -43,10 +43,11 @@
/*
* GPIO 0 initial setup.
- * Bit7 - LPCxpresso LED, initially output at low level.
*/
-#define VAL_GPIO0DIR PAL_PORT_BIT(GPIO0_LED2)
-#define VAL_GPIO0DATA 0x00000000
+#define VAL_GPIO0DIR PAL_PORT_BIT(GPIO0_OLEDSEL) | \
+ PAL_PORT_BIT(GPIO0_LED2)
+#define VAL_GPIO0DATA PAL_PORT_BIT(GPIO0_OLEDSEL) | \
+ PAL_PORT_BIT(GPIO0_LED2)
/*
* GPIO 1 initial setup.
@@ -55,7 +56,10 @@
PAL_PORT_BIT(GPIO1_LED3R) | \
PAL_PORT_BIT(GPIO1_LED3G) | \
PAL_PORT_BIT(GPIO1_SPI0SEL)
-#define VAL_GPIO1DATA 0x00000000
+#define VAL_GPIO1DATA PAL_PORT_BIT(GPIO1_LED3B) | \
+ PAL_PORT_BIT(GPIO1_LED3R) | \
+ PAL_PORT_BIT(GPIO1_LED3G) | \
+ PAL_PORT_BIT(GPIO1_SPI0SEL)
/*
* GPIO 2 initial setup.
@@ -73,6 +77,7 @@
* Pin definitions.
*/
#define GPIO0_SW3 1
+#define GPIO0_OLEDSEL 2
#define GPIO0_LED2 7
#define GPIO1_LED3B 2