esp-idf/components/usb/test_apps/usb_host
Darian Leung 4954884527
fix(usb): Make string descriptor checks in unit tests optional
Checking for an exact match for product or serial and string descriptors can
lead to test failures if the USB devices connected to the runner is changed. This
commit adds some kconfig options to make the string descriptor checks optional,
with the product and serial string checks being disabled by default.
2024-05-30 19:25:18 +08:00
..
main fix(usb): Make string descriptor checks in unit tests optional 2024-05-30 19:25:18 +08:00
CMakeLists.txt fix(test_apps): Trim builds of component test apps 2023-09-18 17:16:37 +08:00
pytest_usb_host.py ci: Added esp32p4 usb tests to CI: 2024-02-29 10:35:09 +01:00
README.md refactor(usb): Rename mock class files 2024-05-23 17:47:24 +08:00
sdkconfig.defaults usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00

Supported Targets ESP32-P4 ESP32-S2 ESP32-S3

USB: Host test application

There are two sets of tests in this application:

  1. Low-speed: Expects low-speed USB mouse with interrupt endpoint to be connected
  2. 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 mock_msc.h and mock_hid.h.