xmos / lib_xud

XMOS USB code and associated examples
Other
8 stars 25 forks source link

Dual USB #386

Open ed-xmos opened 9 months ago

ed-xmos commented 9 months ago

https://xmosjira.atlassian.net/browse/UA-218

ed-xmos commented 9 months ago

@xross I wanted to make a PR so I can run it through the regression and get your thoughts on it. This is the approach with the least impact I could find. I have tested it on AI with dual devices, AI with single device and X200 with single device. Very happy to take you through other approaches and their pros/cons. I like this approach as it is only a minor version bump due to 100% backwards compatibility. There are more thorough ways to do this (fully reentrant etc.) but I thinkthis is the quickest route to a customer solution.