summaryrefslogtreecommitdiff
path: root/src/common/tusb_compiler.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-05-27 20:10:44 +0200
committerGitHub <[email protected]>2024-05-27 20:10:44 +0200
commit003a5d4f5551de809715c8bc7ed203d34720a085 (patch)
tree575dee1a6306ef4bb345a3355faf7e2eac9ca70c /src/common/tusb_compiler.h
parenta9745c9818da85a0b31ef04c556530a3bef18ec1 (diff)
parentfd11bf17fde6cbfdb4bb1ed7070ed4111e503ae8 (diff)
Merge branch 'master' into additional_dcd_sof_enable
Diffstat (limited to 'src/common/tusb_compiler.h')
-rw-r--r--src/common/tusb_compiler.h1
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