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

msp430x5xx: Set base of transmit_packet buffer earlier to avoid incre… #1160

Merged
merged 1 commit into from Oct 24, 2021

Conversation

cr1901
Copy link
Collaborator

@cr1901 cr1901 commented Oct 23, 2021

…menting past unsent data. Closes #1105.

FWIW, I found this via a bisect; commit a5d7b62 introduced the breaking change. MSP430 USB doesn't support iso xfers, so I'm not sure if that code should even be in there, but since it's commented out, I'll leave it alone for now.

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb ! Thank you for looking at this, this is my bad, I didn't pay attention enough to variable queued_len (got changes).

Yeah, you are right, msp430 does not support ISO transfer. Though the dcd_edpt_xfer_fifo()` can still be useful, it allows the driver such as cdc to interact directly using fifo rather than an continuous linear buffer as a middle-man. I haven't got time to make use of that, but we could optimize that later on.

@hathach hathach merged commit 55e0b58 into hathach:master Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSP430 failed to response Get Device Descriptor
2 participants