adding support for lpc13uxx

This commit is contained in:
hathach
2013-11-11 12:48:21 +07:00
parent 9cb99d3716
commit f00a4b448d
25 changed files with 559 additions and 213 deletions

View File

@@ -57,6 +57,9 @@ tusb_error_t hal_init(void)
LPC_IOCON->PIO0_6 &= ~0x07;
LPC_IOCON->PIO0_6 |= (0x01<<0); /* Secondary function SoftConn */
dcd_controller_connect(0);
hal_interrupt_enable(0);
return TUSB_ERROR_NONE;
}