Simple USBHost library for STM32F746NG Discovery board. Only either the Fastspeed or the Highspeed port can be used( not both together)
Dependents: DISCO-F746NG_USB_Host
Fork of KL46Z-USBHost by
Diff: USBHost/USBHostConf.h
- Revision:
- 9:7f9f64cf5ded
- Parent:
- 3:a3872f7593e2
--- a/USBHost/USBHostConf.h Fri Jan 31 13:45:07 2014 +0000 +++ b/USBHost/USBHostConf.h Mon Feb 03 13:00:16 2014 +0000 @@ -64,21 +64,6 @@ #define MAX_INTF 4 /* -* Maximum number of endpoints on each interface -*/ -#define MAX_ENDPOINT_PER_INTERFACE 3 - -/* -* Maximum number of endpoint descriptors that can be allocated -*/ -#define MAX_ENDPOINT (MAX_DEVICE_CONNECTED * MAX_INTF * MAX_ENDPOINT_PER_INTERFACE) - -/* -* Maximum number of transfer descriptors that can be allocated -*/ -#define MAX_TD (MAX_ENDPOINT*2) - -/* * usb_thread stack size */ #define USB_THREAD_STACK (256*4 + MAX_HUB_NB*256*4)