mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
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.
This commit is contained in:
@@ -106,9 +106,9 @@ extern const usb_dwc_info_t usb_dwc_info;
|
||||
/* ------------------------------- Deprecated ------------------------------- */
|
||||
/* Todo: Remove in ESP-IDF v6.0 (IDF-9052) */
|
||||
#include <stdint.h>
|
||||
#include "soc/periph_defs.h"
|
||||
|
||||
#if SOC_USB_OTG_SUPPORTED
|
||||
#include "soc/periph_defs.h"
|
||||
|
||||
/*
|
||||
Stores a bunch of USB-peripheral data.
|
||||
|
||||
Reference in New Issue
Block a user