diff options
| author | Ha Thach <[email protected]> | 2026-03-07 15:29:23 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-07 15:29:23 +0700 |
| commit | d65964ea32b8081cbc5f2533296c68a90ec1b84f (patch) | |
| tree | 8570ec4ceecc56403e5bdc449da023e744f25510 /src/common | |
| parent | 5f69034631491cfd4dabe1a0051721f073a6f91c (diff) | |
| parent | 1c53009dc70e8535347f83cd9f3024ea495a085c (diff) | |
Merge pull request #3519 from hathach/samx7x_update
refresh dcd_samx7x
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 5b9497b9a..32f7eb557 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -172,6 +172,10 @@ #define TUP_RHPORT_HIGHSPEED 1 #define TUD_ENDPOINT_ONE_DIRECTION_ONLY + // Enable dcache if DMA is enabled + #define CFG_TUD_MEM_DCACHE_ENABLE_DEFAULT CFG_TUD_SAMX7X_DMA_ENABLE + #define CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT 32 + #elif TU_CHECK_MCU(OPT_MCU_PIC32MZ) #define TUP_DCD_ENDPOINT_MAX 8 #define TUD_ENDPOINT_ONE_DIRECTION_ONLY |
