2018.07.26
Dependencies: FATFileSystem3 mbed-rtos
Fork of USBHost by
Diff: USBHost/USBHostConf.h
- Revision:
- 4:b320d68e98e7
- Parent:
- 0:a554658735bf
- Child:
- 8:93da8ea2708b
diff -r 0f5c32575eb8 -r b320d68e98e7 USBHost/USBHostConf.h --- 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 -