Hi,
I have a small question about the USB_DEVICE_CONFIG_ENDPOINTS value setting. From the comment in the code, I can see that it might be the value of how many endpoints are supported in the stack.
However, from the content in USB_DeviceInitEndpoint and USB_DeviceInit, I think the value should be the maximum logical endpoint index we need in the project.
Which one is correct?
And if I only have two endpoints, which are endpoint 3 in and out, should I set USB_DEVICE_CONFIG_ENDPOINTS to 4 (maximum logical endpoint index + 1)?
Thanks.
BR,
Peter