diff options
| author | hathach <[email protected]> | 2024-09-25 20:36:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-09-30 11:53:18 +0700 |
| commit | 67e5577b428e70878d99c4f83039cef020a272cb (patch) | |
| tree | 702ed3540f0cf6f12a297f9465bf4cd5c1463db0 /src/common | |
| parent | 7e472fa3cacdd97e0329faa4dbc53a6d457a77f2 (diff) | |
added p4, seems to work well and enumerated
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 26a8ee26b..6b19ac9fe 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -337,13 +337,13 @@ #elif TU_CHECK_MCU(OPT_MCU_ESP32S2, OPT_MCU_ESP32S3) #define TUP_USBIP_DWC2 #define TUP_USBIP_DWC2_ESP32 - #define TUP_DCD_ENDPOINT_MAX 6 + #define TUP_DCD_ENDPOINT_MAX 7 // only 5 TX FIFO for endpoint IN #elif TU_CHECK_MCU(OPT_MCU_ESP32P4) #define TUP_USBIP_DWC2 #define TUP_USBIP_DWC2_ESP32 - #define TUP_RHPORT_HIGHSPEED 1 // 1 port FS, 1 port HS - #define TUP_DCD_ENDPOINT_MAX 8 // FS 6 ep, HS 8 ep + #define TUP_RHPORT_HIGHSPEED 1 // port0 FS, port1 HS + #define TUP_DCD_ENDPOINT_MAX 16 // FS 7 ep, HS 16 ep #elif TU_CHECK_MCU(OPT_MCU_ESP32, OPT_MCU_ESP32C2, OPT_MCU_ESP32C3, OPT_MCU_ESP32C6, OPT_MCU_ESP32H2) #if (CFG_TUD_ENABLED || !(defined(CFG_TUH_MAX3421) && CFG_TUH_MAX3421)) |
