aboutsummaryrefslogtreecommitdiffstats
path: root/boards/EA_LPCXPRESSO_BB_1114/board.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-03 12:17:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-03 12:17:37 +0000
commit220341765d0934143787dcdf0dfa40577059f884 (patch)
tree692e55d7af9d5aaeeab26e64480bdfde2e2a4c88 /boards/EA_LPCXPRESSO_BB_1114/board.c
parent7fa66fc81d60bc00a35ab0643b268cd9874b53ad (diff)
downloadChibiOS-220341765d0934143787dcdf0dfa40577059f884.tar.gz
ChibiOS-220341765d0934143787dcdf0dfa40577059f884.tar.bz2
ChibiOS-220341765d0934143787dcdf0dfa40577059f884.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1837 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/EA_LPCXPRESSO_BB_1114/board.c')
-rw-r--r--boards/EA_LPCXPRESSO_BB_1114/board.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/boards/EA_LPCXPRESSO_BB_1114/board.c b/boards/EA_LPCXPRESSO_BB_1114/board.c
index 401b0532e..79a2f790c 100644
--- a/boards/EA_LPCXPRESSO_BB_1114/board.c
+++ b/boards/EA_LPCXPRESSO_BB_1114/board.c
@@ -43,9 +43,15 @@ void hwinit1(void) {
halInit();
/*
- * Extra, board-specific, initializations.
+ * Extra, board-specific, initializations.
+ * NOTE: PIO1_2 is associated also to the JTAG, if you need to use JTAG
+ * you must comment that line first.
*/
- LPC_IOCON->PIO0_7 = 0xC0; /* Disables pull-up on LED output. */
+ LPC_IOCON->PIO0_7 = 0xC0; /* Disables pull-up on LED2 output. */
+ LPC_IOCON->JTAG_nTRST_PIO1_2 = 0xC1; /* Disables pull-up on LED3B output
+ and makes it GPIO1_2. */
+ LPC_IOCON->PIO1_9 = 0xC0; /* Disables pull-up on LED3R output.*/
+ LPC_IOCON->PIO1_10 = 0xC0; /* Disables pull-up on LED3G output.*/
/*
* ChibiOS/RT initialization.