mirror of https://github.com/ARMmbed/mbed-os.git
Changed USBHostConf.h to better match the previous USBHost configuration.
parent
26ac4e5288
commit
d8c3822c4c
|
@ -21,37 +21,37 @@
|
||||||
* Maximum number of devices that can be connected
|
* Maximum number of devices that can be connected
|
||||||
* to the usb host
|
* to the usb host
|
||||||
*/
|
*/
|
||||||
#define MAX_DEVICE_CONNECTED 1
|
#define MAX_DEVICE_CONNECTED 5
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Maximum of Hub connected to the usb host
|
* Maximum of Hub connected to the usb host
|
||||||
*/
|
*/
|
||||||
#define MAX_HUB_NB 0
|
#define MAX_HUB_NB 2
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Maximum number of ports on a USB hub
|
* Maximum number of ports on a USB hub
|
||||||
*/
|
*/
|
||||||
#define MAX_HUB_PORT 0
|
#define MAX_HUB_PORT 4
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable USBHostMSD
|
* Enable USBHostMSD
|
||||||
*/
|
*/
|
||||||
#define USBHOST_MSD 0
|
#define USBHOST_MSD 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable USBHostKeyboard
|
* Enable USBHostKeyboard
|
||||||
*/
|
*/
|
||||||
#define USBHOST_KEYBOARD 0
|
#define USBHOST_KEYBOARD 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable USBHostMouse
|
* Enable USBHostMouse
|
||||||
*/
|
*/
|
||||||
#define USBHOST_MOUSE 0
|
#define USBHOST_MOUSE 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable USBHostSerial
|
* Enable USBHostSerial
|
||||||
*/
|
*/
|
||||||
#define USBHOST_SERIAL 0
|
#define USBHOST_SERIAL 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable USB3Gmodule
|
* Enable USB3Gmodule
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
/*
|
/*
|
||||||
* Maximum number of endpoints on each interface
|
* Maximum number of endpoints on each interface
|
||||||
*/
|
*/
|
||||||
#define MAX_ENDPOINT_PER_INTERFACE 2
|
#define MAX_ENDPOINT_PER_INTERFACE 3
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Maximum number of endpoint descriptors that can be allocated
|
* Maximum number of endpoint descriptors that can be allocated
|
||||||
|
|
Loading…
Reference in New Issue