mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-03 06:58:11 +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. # Conflicts: # components/usb/host_test/usb_host_layer_test/main/usb_host_install_unit_test.cpp # components/usb/hub.c # components/usb/test_apps/common/phy_common.c # components/usb/test_apps/common/phy_common.h # components/usb/test_apps/hcd/main/test_hcd_common.c # components/usb/test_apps/usb_host/main/test_app_main.c # components/usb/usb_host.c