summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-12-31 01:07:52 +0700
committerhathach <[email protected]>2025-12-31 01:11:40 +0700
commitd61ed922206148081afa70803ad717858bc5b756 (patch)
treeecb7cb78db6c2ed7788a9fcf4fcff4c70d7833e2 /src/tusb_option.h
parent4e4398898040118969421dc236ec8f453f9b503d (diff)
re-branding fixed address fifo read/write to stride mode
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index de54d33d8..a0f4e7057 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -307,7 +307,8 @@
#if defined(TUP_USBIP_DWC2)
#if CFG_TUD_DWC2_SLAVE_ENABLE && !CFG_TUD_DWC2_DMA_ENABLE
#define CFG_TUD_EDPT_DEDICATED_HWFIFO 1
- #define CFG_TUSB_FIFO_MULTI_BYTES_ACCESS 1
+ #define CFG_TUSB_FIFO_ACCESS_DATA_STRIDE 4 // 32bit access
+ #define CFG_TUSB_FIFO_ACCESS_ADDR_STRIDE 0 // fixed hwfifo address
#endif
#if CFG_TUH_DWC2_SLAVE_ENABLE && !CFG_TUH_DWC2_DMA_ENABLE