Quantcast
Viewing all articles
Browse latest Browse all 5391

MicroPython • Re: Dynamic USB Devices

If that's the case then the entire issue should be resolvable simply by making the behaviour conditional, not on instantiating, but on actually configuring and/or making active a dynamic configuration.
I agree that this fits what the documentation already says about disconnecting on soft reset. I've submitted a patch so the disconnect won't happen if USBDevice hasn't been set active:
https://github.com/micropython/micropython/pull/14194

Statistics: Posted by projectgus — Wed Mar 27, 2024 4:10 am



Viewing all articles
Browse latest Browse all 5391

Trending Articles