From 17a591f719650ffe66ef1460df62062d93bdd461 Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Sun, 16 Feb 2025 20:22:46 +0800 Subject: update(osal/idf): reduce tx fifo for more space for ep5 & ep6 Signed-off-by: sakumisu <1203593632@qq.com> --- osal/idf/usb_config.h | 14 +++++++------- 1 file 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) -- cgit v1.3.1