diff options
Diffstat (limited to 'boards/EA_LPCXPRESSO_BB_1114/board.c')
-rw-r--r-- | boards/EA_LPCXPRESSO_BB_1114/board.c | 10 |
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.
|