-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Update tinyusb port to work with current master tinyusb (IDFGH-3381) #5355
Conversation
add MSC example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config value/number must be starting from 1 ( note config index in the callback is value - 1 )
@chegewara Thanks for your contribution. |
@hathach I am doing something wrong, because even with MSC example that seems to work, windows can enumerate devices and install driver, it takes ages (5-10 minutes) to install disk volume and i cant access it, because it soooo slow. Any advice or help? PS linux cant see disk and BIOS on PC restart just stuck |
Here is some log:
|
Update tinyusb port to work with current master tinyusb, add MSC example
I am afraid, I don't know enough of IDF to help you. I could take a look, if you could reproduce it with my example https://github.com/hathach/tinyusb/tree/master/examples/device/cdc_msc_freertos |
Funny thing is i couldnt compile with your example, thats why i am preparing this PR. |
@igrr is this a typo? Shouldnt be:
|
@chegewara Yes, looks like it is, one of them should be |
Fixed all problems with MSC model. All included examples should work now. |
@chegewara thanks for the PR. I'm finishing our internal work that is doing in parallel with your PR and after this will take a look at your PR and and what we could use from it on top of our work. Thank you for the patience :) |
@chegewara Do you know why this PR was not accepted? I believe this is the only working example of an MSC device in esp-idf, which could be very useful to others (...or at least to me ;) cc: @Alvin1Zhang @igrr |
Im guessing its because my programming style is not good enough for espressif. |
Update tinyusb port to work with current master tinyusb, add MSC example, add CDC example, add webUSB example.