diff options
| author | hathach <[email protected]> | 2025-11-21 17:02:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-11-21 17:02:56 +0700 |
| commit | c9b623aa63d24d58a7a5e55dd296afd1261b2ab8 (patch) | |
| tree | b6f11dd1e945b2dac9b1841efa1aaca17a255134 /src/common/tusb_fifo.h | |
| parent | d0d56a51a15dbdb760f5607702cf4ceeb2451a9e (diff) | |
edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFO
cdc device omit ep buffer when hwfifo is supported
Diffstat (limited to 'src/common/tusb_fifo.h')
| -rw-r--r-- | src/common/tusb_fifo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h index c16216606..0b8e83760 100644 --- a/src/common/tusb_fifo.h +++ b/src/common/tusb_fifo.h @@ -48,6 +48,10 @@ extern "C" { // for OS None, we don't get preempted #define CFG_FIFO_MUTEX OSAL_MUTEX_REQUIRED +#if CFG_TUD_EDPT_DEDICATED_HWFIFO || CFG_TUH_EDPT_DEDICATED_HWFIFO + #define CFG_TUSB_FIFO_ACCESS_FIXED_ADDR_RW32 +#endif + /* Write/Read index is always in the range of: * 0 .. 2*depth-1 * The extra window allow us to determine the fifo state of empty or full with only 2 indices |
