able to build and run cdc device demo on lpc11uxx

This commit is contained in:
hathach
2013-11-13 12:40:11 +07:00
parent d8f32a79fc
commit 92d9c36dbc
15 changed files with 110 additions and 91 deletions

View File

@@ -52,6 +52,14 @@ tusb_error_t tusb_init(void)
ASSERT_STATUS ( usbd_init() ); // device stack init
#endif
#if (TUSB_CFG_CONTROLLER_0_MODE)
hal_interrupt_enable(0);
#endif
#if (TUSB_CFG_CONTROLLER_1_MODE)
hal_interrupt_enable(1);
#endif
return TUSB_ERROR_NONE;
}