esp-idf/components/usb/test_apps/usb_host
Tomas Rezucha 645592e157 usb: Refactor USB Host tests
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2022-11-30 18:12:54 +01:00
..
main usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00
CMakeLists.txt usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00
pytest_usb_host.py usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00
README.md usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00
sdkconfig.defaults usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00

Supported Targets 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 test_usb_mock_msc.h and test_usb_mock_hid.h.