summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cherryusb_config_template.h2
-rw-r--r--port/dwc2/usb_dc_dwc2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cherryusb_config_template.h b/cherryusb_config_template.h
index f0370fb9..2128480f 100644
--- a/cherryusb_config_template.h
+++ b/cherryusb_config_template.h
@@ -203,7 +203,7 @@
//#define CONFIG_USBDEV_FSDEV_PMA_ACCESS 2 // maybe 1 or 2, many chips may have a difference
/* ---------------- DWC2 Configuration ---------------- */
-// #define CONFIG_USB_DWC2_RXALL_FIFO_SIZE (320)
+// #define CONFIG_USB_DWC2_RXALL_FIFO_SIZE (1024 / 4)
// #define CONFIG_USB_DWC2_TX0_FIFO_SIZE (64 / 4)
// #define CONFIG_USB_DWC2_TX1_FIFO_SIZE (512 / 4)
// #define CONFIG_USB_DWC2_TX2_FIFO_SIZE (64 / 4)
diff --git a/port/dwc2/usb_dc_dwc2.c b/port/dwc2/usb_dc_dwc2.c
index b73e3031..4bdc5712 100644
--- a/port/dwc2/usb_dc_dwc2.c
+++ b/port/dwc2/usb_dc_dwc2.c
@@ -54,7 +54,7 @@
//#define CONFIG_USB_DWC2_DMA_ENABLE
#ifndef CONFIG_USB_DWC2_RXALL_FIFO_SIZE
-#define CONFIG_USB_DWC2_RXALL_FIFO_SIZE (320)
+#define CONFIG_USB_DWC2_RXALL_FIFO_SIZE (1024 / 4)
#endif
#ifndef CONFIG_USB_DWC2_TX0_FIFO_SIZE