diff options
| author | Bernard Xiong <[email protected]> | 2013-06-03 20:55:58 -0700 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2013-06-03 20:55:58 -0700 |
| commit | 03e8d24688ae56c6c53db81e42d40109026d1aac (patch) | |
| tree | c55949bd1bd9e4df5c54eba67d0feb68382a31a6 /include | |
| parent | d80a47168038a1759a5881315a19fdffa06c70e6 (diff) | |
| parent | 480ac3444510fc7303f738a81f64314557366b8d (diff) | |
Merge pull request #99 from grissiom/rm48x50
Rm48x50 updates
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 */ |
