summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-01-13 00:22:03 +0800
committersakumisu <[email protected]>2024-01-13 00:22:03 +0800
commit125aad65d606f40e80e60261ebd0723f64618e3d (patch)
treed196fe041bf2883138c6e8ef644285b99441085f
parent07ced6d02307eee93e00408dea16fdfe8b000796 (diff)
dwc2 use fifo not dma as default because users may have problems in cache
-rw-r--r--port/dwc2/usb_dc_dwc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/port/dwc2/usb_dc_dwc2.c b/port/dwc2/usb_dc_dwc2.c
index 00e955fe..6e489097 100644
--- a/port/dwc2/usb_dc_dwc2.c
+++ b/port/dwc2/usb_dc_dwc2.c
@@ -99,7 +99,7 @@
#elif CONFIG_USB_DWC2_RAM_SIZE == 4096
-#define CONFIG_USB_DWC2_DMA_ENABLE
+//#define CONFIG_USB_DWC2_DMA_ENABLE
#ifdef CONFIG_USB_DWC2_DMA_ENABLE
#warning "if you enable dcache,please add .nocacheble section in your sct or ld or icf"