mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 15:15:02 +00:00

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.
Supported Targets | ESP32-P4 | ESP32-S2 | ESP32-S3 |
---|
USB: Host test application
There are three 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
- 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.