usb: dc: native_posix: Increase number of endpoints supported

Support 8 endpoints in each direction for native_posix.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2019-03-14 15:40:50 +02:00 committed by Anas Nashif
parent 8d6fbde898
commit 446f5e48cb

View file

@ -29,8 +29,8 @@ LOG_MODULE_REGISTER(native_posix);
/* convert from hardware endpoint index and direction to endpoint address */
#define USBIP_EP_IDX2ADDR(idx, dir) ((idx) | ((dir) & USB_EP_DIR_MASK))
#define USBIP_IN_EP_NUM 4
#define USBIP_OUT_EP_NUM 4
#define USBIP_IN_EP_NUM 8
#define USBIP_OUT_EP_NUM 8
#define USBIP_MAX_PACKET_SIZE 64