house keeping
This commit is contained in:
@@ -43,8 +43,9 @@
|
||||
#endif
|
||||
|
||||
#include "arm_mx.h"
|
||||
#include "LPC13Uxx.h"
|
||||
|
||||
#define ARM ARM_M3
|
||||
#define ARM_M3
|
||||
|
||||
#define DEVICE_ROMDRIVER
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ARM ARM_M4
|
||||
//#define ARM ARM_M0
|
||||
#define ARM_M4
|
||||
//#define ARM_M0
|
||||
|
||||
#include "arm_mx.h"
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#include "romdriver/mw_usbd_rom_api.h"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -36,7 +36,10 @@
|
||||
*/
|
||||
|
||||
#include "tusb.h"
|
||||
#include "LPC13Uxx.h" // TODO HAL
|
||||
|
||||
#ifdef CFG_TUSB_DEVICE
|
||||
#include "device/dcd.h"
|
||||
#endif
|
||||
|
||||
ErrorCode_t tusb_init(void)
|
||||
{
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#define CFG_TUSB_HOST
|
||||
#define CFG_TUSB_DEVICE
|
||||
|
||||
|
||||
// TODO APP
|
||||
#define USB_MAX_IF_NUM 8
|
||||
#define USB_MAX_EP_NUM 5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user