espressif / esp-usb

Other
29 stars 16 forks source link

Add CDC parsing host test #66

Closed tore-espressif closed 1 month ago

tore-espressif commented 2 months 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:

tore-espressif commented 1 month ago

Thank you for the review @roma-jam , I'll address the comments ASAP