Replies: 1 comment
-
Oops, meant to post this on the tinyusb repository. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thank you for such a great library! I'm having a lot of fun tinkering with it. :)
I currently have a multi-device setup working (combination HID, CDC and MSC), and wanted to know whether there is a way to dynamically mount and unmount/eject the MSC device on demand, but without affecting the other HID and CDC devices? It seems easy enough to just have
tud_msc_test_unit_ready_cb()
return false until I want the device to become available, but ideally the device would not even be enumerated and shown in the operating system's disk lists (My Computer on Windows orlsblk
on Linux) until ready to be used.I see that the Adafruit library dynamically registers the interface descriptor here, but I don't see any API call to force the host to re-enumerate after that, and when I try the equivalent in C some time (seconds) after initial boot and setup, the MSC never enumerates/mounts.
Thanks again for the awesome library and your help!
Beta Was this translation helpful? Give feedback.
All reactions