diff options
| author | Ha Thach <[email protected]> | 2024-05-06 18:31:29 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-06 18:31:29 +0700 |
| commit | 104a5daef49d91b54f7af499090efd478c936971 (patch) | |
| tree | 45d19d2faa146d2ce0ee57dfcdcb2b0c1fb01f0e /src/common/tusb_mcu.h | |
| parent | 4101369c350466f1f66762d17d221fd85d64b95f (diff) | |
| parent | c303b5d81d3dd9d5dc9f831af704e6d40366d7cf (diff) | |
Merge pull request #2618 from HiFiPhile/fifo_const_split
tusb_fifo: skip constant address functions if not used
Diffstat (limited to 'src/common/tusb_mcu.h')
| -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 8d58be2a1..4e3b89262 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -448,4 +448,8 @@ #define TUP_DCD_EDPT_ISO_ALLOC #endif +#if defined(TUP_USBIP_DWC2) + #define TUP_MEM_CONST_ADDR +#endif + #endif |
