Files
esp-idf/components/usb/test_apps/usb_host
Tomas Rezucha b961f42e8b feat(usb/host): Add option to choose peripheral for USB host library
Starting with ESP32-P4 we can have targets that have more than 1 USB-OTG peripheral.
This commit adds an option to choose which peripherals will be used by USB Host lib.

Internally, we will still have only 1 Root HUB but with multiple Root ports.
2025-05-14 10:34:11 +02:00
..

Supported Targets ESP32-P4 ESP32-S2 ESP32-S3

USB: Host test application

There are three 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
  3. High-speed: Expects high-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 dev_msc.c and dev_hid.c.