update(dwc2): change rx fifo to 1024/4 as default

This commit is contained in:
sakumisu
2024-05-15 22:37:33 +08:00
parent f2133f5ca2
commit 5e6bd78f80
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@
//#define CONFIG_USBDEV_FSDEV_PMA_ACCESS 2 // maybe 1 or 2, many chips may have a difference //#define CONFIG_USBDEV_FSDEV_PMA_ACCESS 2 // maybe 1 or 2, many chips may have a difference
/* ---------------- DWC2 Configuration ---------------- */ /* ---------------- 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_TX0_FIFO_SIZE (64 / 4)
// #define CONFIG_USB_DWC2_TX1_FIFO_SIZE (512 / 4) // #define CONFIG_USB_DWC2_TX1_FIFO_SIZE (512 / 4)
// #define CONFIG_USB_DWC2_TX2_FIFO_SIZE (64 / 4) // #define CONFIG_USB_DWC2_TX2_FIFO_SIZE (64 / 4)

View File

@@ -54,7 +54,7 @@
//#define CONFIG_USB_DWC2_DMA_ENABLE //#define CONFIG_USB_DWC2_DMA_ENABLE
#ifndef CONFIG_USB_DWC2_RXALL_FIFO_SIZE #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 #endif
#ifndef CONFIG_USB_DWC2_TX0_FIFO_SIZE #ifndef CONFIG_USB_DWC2_TX0_FIFO_SIZE