diff options
| author | hathach <[email protected]> | 2024-05-24 13:58:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-24 13:58:44 +0700 |
| commit | 4ce439a75a6f7aa995c74e7ac32e70ab8216c771 (patch) | |
| tree | a1bed9351159f79f09de0c9a906c0dfb915686c5 /src/common/tusb_compiler.h | |
| parent | 927015baae9b2d265d1daaa0fc2ffca1aa4f9e91 (diff) | |
add ch32 support for fsdev driver. v20x can select fsdev or usbfs with make/cmake PORT=0/1. default to fsdev
Diffstat (limited to 'src/common/tusb_compiler.h')
| -rw-r--r-- | src/common/tusb_compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index 0d5570b1c..ce5566ffe 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -128,6 +128,7 @@ #define TU_ATTR_SECTION(sec_name) __attribute__ ((section(#sec_name))) #define TU_ATTR_PACKED __attribute__ ((packed)) #define TU_ATTR_WEAK __attribute__ ((weak)) + // #define TU_ATTR_WEAK_ALIAS(f) __attribute__ ((weak, alias(#f)) #ifndef TU_ATTR_ALWAYS_INLINE // allow to override for debug #define TU_ATTR_ALWAYS_INLINE __attribute__ ((always_inline)) #endif |
