-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add CDC parsing host test #66
Conversation
1fdc564
to
0dced5a
Compare
0dced5a
to
57b9613
Compare
a5d547c
to
7d93201
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Built locally, launched and got the line:
All tests passed (520 assertions in 11 test cases)
Cool, that we could use linux tests now!
Overall LGTM, just one basic idea about the naming. Check the notes. feel free to use the suggested names if you like them better.
Name of the file cdc_host_parsing.c
seems not clear to me. Hard to say, what is inside the file. Maybe something as cdc_acm_descriptor_parsing.c
or cdc_acm_host_descriptor.c
would be better.
CDC ACM descriptor parsing helper calls notes left before.
Thank you for the review @roma-jam , I'll address the comments ASAP |
Update CDC-ACM test_app to IDF v5.0
7d93201
to
c3ad19d
Compare
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: