add CFG_TUD_DWC2_DMA, make it compile time option

This commit is contained in:
hathach
2024-09-24 17:55:15 +07:00
parent 86b4608365
commit a1244381b3
3 changed files with 28 additions and 22 deletions

View File

@@ -524,7 +524,7 @@
#define TUP_DCD_EDPT_ISO_ALLOC
#endif
#if defined(TUP_USBIP_DWC2)
#if defined(TUP_USBIP_DWC2) // && CFG_TUD_DWC2_DMA == 0
#define TUP_MEM_CONST_ADDR
#endif