提交 92374330 编写于 作者: G Grissiom

add TI CCS support micros in rtdef.h

上级 50c8cbe1
...@@ -145,7 +145,10 @@ typedef rt_base_t rt_off_t; /**< Type for offset */ ...@@ -145,7 +145,10 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#define ALIGN(n) __declspec(align(n)) #define ALIGN(n) __declspec(align(n))
#define rt_inline static __inline #define rt_inline static __inline
#define RTT_API #define RTT_API
#elif defined (__TI_EABI_SUPPORT__) #elif defined (__TI_COMPILER_VERSION__)
/* The way that TI compiler set section is different from other(at least
* GCC and MDK) compilers. See ARM Optimizing C/C++ Compiler 5.9.3 for more
* details. */
#define SECTION(x) #define SECTION(x)
#define UNUSED #define UNUSED
#define ALIGN(n) #define ALIGN(n)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册