diff options
| author | Grissiom <[email protected]> | 2013-06-03 22:23:17 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-06-03 22:23:17 +0800 |
| commit | 85822f22b7d621deb448a83393f0c607032e392f (patch) | |
| tree | 4553cad000f85406066343e1446454c4b010221a /include | |
| parent | d80a47168038a1759a5881315a19fdffa06c70e6 (diff) | |
rtdef.h: get back the codes that removed accidentally by d80a471
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 7a983efb65..c55327b2d2 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -145,6 +145,17 @@ typedef rt_base_t rt_off_t; /**< Type for offset */ #define ALIGN(n) __declspec(align(n)) #define rt_inline static __inline #define RTT_API +#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 UNUSED + #define ALIGN(n) + #define rt_inline static inline + #define RTT_API +#else + #error not supported tool chain #endif /* event length */ |
