[host lpc43xx] adding support for host custom class

refractor usbh class driver indexing
opt out periodic list code in EHCI (need to refractor/group later)
[device lpc176x] rename dcd_endpoint_configure to dcd_pipe_open
add usbd_pipe_open to manage pipe
This commit is contained in:
hathach
2013-06-21 13:11:16 +07:00
parent 743e5a7a93
commit 3924764dff
14 changed files with 303 additions and 66 deletions

View File

@@ -59,15 +59,19 @@
#if MODE_HOST_SUPPORTED
#include "host/usbh.h"
#ifdef HOST_CLASS_HID
#if HOST_CLASS_HID
#include "class/hid_host.h"
#endif
#define HOST_CLASS_MSC
// #define HOST_CLASS_MSC // FIXME hack to test massstorage class
#ifdef HOST_CLASS_MSC
#include "class/msc_host.h"
#endif
#if TUSB_CFG_HOST_CUSTOM_CLASS
#include "class/custom_class.h"
#endif
#endif
//------------- DEVICE -------------//