-
Notifications
You must be signed in to change notification settings - Fork 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
Feature: BOS and Microsoft OS specific descriptors support #1432
base: master
Are you sure you want to change the base?
Feature: BOS and Microsoft OS specific descriptors support #1432
Conversation
We're aware the build is currently failing.. we'll fix the reason why in the morning. It's a question of platforms missed in the addition rather than a real bug. Edit: This is now fixed. |
4f4fa72
to
fe6043b
Compare
fe6043b
to
3705594
Compare
Is this of interest to the project? We currently need BOS descriptors and need to decide if we should create a fork or wait for this pull request to be merged. |
It is of interest to the project, and the submitter here has done a great job of adding the requested tests. Regardless, testing on windows is not exactly something that fills me with joy. It's pretty high on my list though. As you can see of course, it's not exactly a minor "the header has the wrong value copied from the reference manual" so it's not something that happens overnight. |
Thanks for the clarification, totally understandable. |
…pability descriptors
… of a BOS descriptor
…ptor component of a platform capability descriptor
…or set structures
…descriptors handler
…t the new parts of the stack
…valid BOS request handling
…nd invalid request handling
…o make for easier reading
2f25f5f
to
0c6c7c2
Compare
Reporting that this is a working and useful feature. |
…rks with C++ code
This PR implements support to locm3's USB stack for Binary Object Store (BOS) descriptors, and the Microsoft OS 2.0 Descriptor specification (which requires BOS support).
The motivation for doing this it to provide support in Black Magic Probe for auto-binding drivers to the Trace and DFU interfaces via descriptors in the firmware.
Additionally this PR implements tests for all the new descriptor requests added via the gadget0 framework and implements a gadget0 platform to allow the native BMP hardware to be used as a testing platform (this is the hardware we had available)