USBHost library. NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.

Dependencies:   FATFileSystem mbed-rtos

Dependents:   BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more

Legacy Warning

This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.

Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.

Revision:
4:b320d68e98e7
Parent:
0:a554658735bf
Child:
8:93da8ea2708b
--- a/USBHost/USBHostConf.h	Wed Mar 06 17:50:07 2013 +0000
+++ b/USBHost/USBHostConf.h	Tue Mar 12 17:23:37 2013 +0000
@@ -5,12 +5,12 @@
 * Maximum number of devices that can be connected
 * to the usb host
 */
-#define MAX_DEVICE_CONNECTED        10
+#define MAX_DEVICE_CONNECTED        5
 
 /*
 * Maximum of Hub connected to the usb host
 */
-#define MAX_HUB_NB                  5
+#define MAX_HUB_NB                  2
 
 /*
 * Maximum number of ports on a USB hub
@@ -40,7 +40,7 @@
 /*
 * Maximum number of interfaces of a usb device
 */
-#define MAX_INTF                    2
+#define MAX_INTF                    3
 
 /*
 * Maximum number of endpoints on each interface
@@ -60,7 +60,6 @@
 /*
 * usb_thread stack size
 */
-#define USB_THREAD_STACK            (128*4 + MAX_HUB_NB*128*4)
+#define USB_THREAD_STACK            (256*4 + MAX_HUB_NB*256*4)
 
 #endif
-