esp-idf/components/usb/test_apps/usb_host
Darian Leung 287bdc5e61 fix(test_apps): Trim builds of component test apps
Some component test apps do not use the "set(COMPONENTS main)" command in their
project level "CMakeLists.txt", thus leading to their builds pulling in all
ESP-IDF components.

This commit trims the build of multiple component test apps:

- Add "set(COMPONENTS main ...)" to project level "CMakeLists.txt"
- Add missing "PRIV_REQUIRES" in some "main" component "CMakeLists.txt"

Also removed repeated configuraiton options in legacy_i2c_driver/sdkconfig.ci.defaults
as they are already specified in legacy_i2c_driver/sdkconfig.defaults
2023-09-18 17:16:37 +08:00
..
main usb: Refactor USB Host tests 2022-11-30 18:12:54 +01:00
CMakeLists.txt fix(test_apps): Trim builds of component test apps 2023-09-18 17:16:37 +08:00
pytest_usb_host.py usb_host: Use up-to-date syntax in pytest 2023-04-19 11:06:25 +02: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.