espressif / esp-usb

Other
29 stars 16 forks source link

feat(cmock): Enable linux target build for HID, CDC-ACM and UVC hosts #65

Closed peter-marcisovsky closed 3 weeks ago

peter-marcisovsky commented 2 months ago

Description

As a part of Linux host testing, we have created a mock of USB component in the esp-idf, which will be used for testing of Class drivers within this (esp-usb) repository using Cmock test cases.

This MR adds Linux target build for:

Already buildable Class drivers for linux:

Not buildable Class drivers for linux:

As discussed, rather than adding new supported target into the idf_component.yml file, (linux in this case, and other targets in future) the target list was removed from (those class drivers buildable for linux) and a target compatibility will be handled during build.

Changes

Related

Testing


Checklist

Before submitting a Pull Request, please ensure the following:

peter-marcisovsky commented 1 month ago

MR on hold, until idf core team finds a workaround for linux build without using pthread

peter-marcisovsky commented 1 month ago

Waiting for esp-idf GL sync wit GH, to enable linux build with the current critical section API.