From d5836751d913e2f7cb90bb1a4cdc95274d585a48 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 29 May 2013 15:23:07 +0700 Subject: keyboard example works with lpc1347 xpresso --- tinyusb/hal/hal_lpc13uxx.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tinyusb/hal') diff --git a/tinyusb/hal/hal_lpc13uxx.c b/tinyusb/hal/hal_lpc13uxx.c index dd59e2c64..8a9503e23 100644 --- a/tinyusb/hal/hal_lpc13uxx.c +++ b/tinyusb/hal/hal_lpc13uxx.c @@ -54,7 +54,14 @@ tusb_error_t hal_init() LPC_IOCON->PIO0_6 &= ~0x07; LPC_IOCON->PIO0_6 |= (0x01<<0); /* Secondary function SoftConn */ + hal_interrupt_enable(0); + return TUSB_ERROR_NONE; } +void USB_IRQHandler(void) +{ + tusb_isr(0); +} + #endif -- cgit v1.3.1