summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-02-16 20:22:46 +0800
committersakumisu <[email protected]>2025-02-16 20:26:30 +0800
commit17a591f719650ffe66ef1460df62062d93bdd461 (patch)
tree3d9d1d71c03a43ec666addeea60d1db4ec44043a
parent23d2327a527db0c6fcbcee4e9611ff4cb9f03cf0 (diff)
update(osal/idf): reduce tx fifo for more space for ep5 & ep6
Signed-off-by: sakumisu <[email protected]>
-rw-r--r--osal/idf/usb_config.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/osal/idf/usb_config.h b/osal/idf/usb_config.h
index 02e90a71..dde3bccb 100644
--- a/osal/idf/usb_config.h
+++ b/osal/idf/usb_config.h
@@ -223,14 +223,14 @@
/* ---------------- DWC2 Configuration ---------------- */
//esp32s2/s3 can support up to 5 IN endpoints(include ep0) at the same time
-#define CONFIG_USB_DWC2_RXALL_FIFO_SIZE (208 / 4)
+#define CONFIG_USB_DWC2_RXALL_FIFO_SIZE (320 / 4)
#define CONFIG_USB_DWC2_TX0_FIFO_SIZE (64 / 4)
-#define CONFIG_USB_DWC2_TX1_FIFO_SIZE (136 / 4)
-#define CONFIG_USB_DWC2_TX2_FIFO_SIZE (136 / 4)
-#define CONFIG_USB_DWC2_TX3_FIFO_SIZE (128 / 4)
-#define CONFIG_USB_DWC2_TX4_FIFO_SIZE (128 / 4)
-#define CONFIG_USB_DWC2_TX5_FIFO_SIZE (0 / 4)
-#define CONFIG_USB_DWC2_TX6_FIFO_SIZE (0 / 4)
+#define CONFIG_USB_DWC2_TX1_FIFO_SIZE (64 / 4)
+#define CONFIG_USB_DWC2_TX2_FIFO_SIZE (64 / 4)
+#define CONFIG_USB_DWC2_TX3_FIFO_SIZE (64 / 4)
+#define CONFIG_USB_DWC2_TX4_FIFO_SIZE (64 / 4)
+#define CONFIG_USB_DWC2_TX5_FIFO_SIZE (64 / 4)
+#define CONFIG_USB_DWC2_TX6_FIFO_SIZE (64 / 4)
#define CONFIG_USB_DWC2_TX7_FIFO_SIZE (0 / 4)
#define CONFIG_USB_DWC2_TX8_FIFO_SIZE (0 / 4)