mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6a3bb3294d
Previously, descriptors of the test devices were stored direclty in the mock device files (e.g., "mock_[hid|msc].[h|c]"). This commit splits out the device descriptors to separate files (e.g., "dev_[hid|msc].c") along with getter functions. Users that want to run the tests locally on a different device simply need to update the "dev_[hid|msc].c" file for their device. |
||
---|---|---|
.. | ||
main | ||
CMakeLists.txt | ||
pytest_usb_hcd.py | ||
README.md | ||
sdkconfig.defaults |
Supported Targets | ESP32-P4 | ESP32-S2 | ESP32-S3 |
---|
USB: Host test application
There are two sets of tests in this application:
- Low-speed: Expects low-speed USB mouse with interrupt endpoint to be connected
- Full-speed: Expects full-speed USB flash disk with 2 bulk endpoints to be connected
For running these tests locally, you will have to update device definitions (VID, PID, ...) in test_usb_mock_classes.h.