Closed tore-espressif closed 1 month ago
This is a refactor that separates Descriptor parsing logic to a separate file with its own private API.
This new private API is than used with newly added USB mock, so we can test the parsing logic on Linux host tests.
There is a number of hardcoded USB descriptors of tested and verified CDC devices that must work with this driver.
TODO:
Thank you for the review @roma-jam , I'll address the comments ASAP
This is a refactor that separates Descriptor parsing logic to a separate file with its own private API.
This new private API is than used with newly added USB mock, so we can test the parsing logic on Linux host tests.
There is a number of hardcoded USB descriptors of tested and verified CDC devices that must work with this driver.
TODO: