Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcd dwc2 the number of defined DWC2_EP_COUNT endpoints should be increased by 1 #2900

Closed
1 task done
Maxjta opened this issue Dec 10, 2024 · 1 comment · Fixed by #2901
Closed
1 task done

dcd dwc2 the number of defined DWC2_EP_COUNT endpoints should be increased by 1 #2900

Maxjta opened this issue Dec 10, 2024 · 1 comment · Fixed by #2901

Comments

@Maxjta
Copy link

Maxjta commented Dec 10, 2024

Related area

Causes the last endpoint to be unusable。

Hardware specification

dwc:Number of Device Endpoints (NumDevEps) Indicates the number of device endpoints supported by the core in Device mode in addition to control endpoint 0. The range of this field is 1-15.

Is your feature request related to a problem?

When there are 8 endpoints, endpoint 0 is included. At this time, there are only 7 defined endpoints, resulting in the last endpoint being unusable.

Describe the solution you'd like

#define DWC2_EP_COUNT(_dwc2) ((_dwc2)->ghwcfg2_bm.num_dev_ep + 1)

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@hathach
Copy link
Owner

hathach commented Dec 11, 2024

thank you, this should be fixed by #2901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants