Skip to content

usbd: Remove debug prints and add an example for the V203 #94

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Noxime
Copy link

@Noxime Noxime commented Apr 28, 2025

Do not merge before fixing the executor issue!

The driver works for the most part, except you must for some reason use the arch-spin executor to make it work. Perhaps something is wrong in the interrupts? I have no experience with embassy executor internals or the USB peripheral itself, so any help would be appreciated.

@andelf Do you have any ideas?

Closes #79

The driver works for the most part, except you must for some reason
use the arch-spin executor to make it work. Perhaps something is
wrong in the interrupts?

Do not merge in the current form!
// It needs some buffers for building the descriptors.
let mut config_descriptor = [0; 256];
let mut bos_descriptor = [0; 256];
let mut msos_descriptor = [0; 256];
Copy link

Choose a reason for hiding this comment

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

If no msos descriptor is used, this buffer should be [0; 0]

Copy link

@HaoboGu HaoboGu left a comment

Choose a reason for hiding this comment

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

lgtm

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.

USBD peripheral driver
2 participants