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

chore(usb): cdc_queue now use uint32_t length #2547

Closed
wants to merge 1 commit into from

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Nov 4, 2024

Summary

remove cdc buffer size 32KB limit due to uint16_t length variables.

This PR fixes bug:
cdc queue limit.
now CDC_TRANSMIT_QUEUE_BUFFER_PACKET_NUMBER and/or CDC_RECEIVE_QUEUE_BUFFER_PACKET_NUMBER both can be greater than 512. which every buffer size is 64B, 64*512=32768

@fpistm fpistm added the enhancement New feature or request label Nov 4, 2024
@fpistm fpistm added this to the 2.9.0 milestone Nov 4, 2024
which allows CDC_TRANSMIT_QUEUE_BUFFER_PACKET_NUMBER>512 or
CDC_RECEIVE_QUEUE_BUFFER_PACKET_NUMBER>512.

Signed-off-by: warmonkey <luoshumymail@gmail.com>
@fpistm
Copy link
Member Author

fpistm commented Nov 5, 2024

Closed in favor of #2550

@fpistm fpistm closed this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

2 participants