Dcd synopsis mem allocation#581
Merged
Merged
Conversation
cr1901
reviewed
Jan 3, 2021
hathach
reviewed
Jan 4, 2021
Owner
hathach
left a comment
There was a problem hiding this comment.
Superb !!! Thank you very much for the PR, it looks great. I haven't tested it on hardware (will do later on), I only have a couples of feedback per review. Let's me know if you think otherwise.
added 2 commits
January 4, 2021 17:00
- externerlize code into functions - correct comments
hathach
approved these changes
Jan 8, 2021
Owner
hathach
left a comment
There was a problem hiding this comment.
Excellent PR !!! Thank you very much for putting effort into this work.
Collaborator
Author
|
Thanks! I am glad you like my ideas :) |
Owner
it is a great idea, hopefully after a few round of enhancement like this pr, we could have a great FIFO allocation scheme. |
7FM
pushed a commit
to 7FM/tinyusb
that referenced
this pull request
Aug 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the PR
Implementation of #540.
TX FIFOs are now starting to allocate from the top, RX FIFO at the bottom of the available space (like heap and stack). As such, free space is between TX and RX allocations allowing the RX FIFO to grow in size dynamically which is needed in case an ISO OUT EP is opened which is greater than the standard RX FIFO size. Also, once such an OUT EP is closed, the RX FIFO size will be reduced once the RX FIFO is empty.