Skip to content
Permalink
Browse files

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>
  • Loading branch information...
finikorg authored and nashif committed Mar 14, 2019
1 parent 8d6fbde commit 446f5e48cbb57dc1ca35b0db30887bbc05211a8d
Showing with 2 additions and 2 deletions.
  1. +2 −2 drivers/usb/device/usb_dc_native_posix.c
@@ -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

0 comments on commit 446f5e4

Please sign in to comment.
You can’t perform that action at this time.