Added VisualDSP++ Compiler support.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2137 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com
2012-05-30 06:50:06 +00:00
parent e86bd68278
commit 3ad6f43ff3
5 changed files with 25 additions and 3 deletions

View File

@@ -126,6 +126,13 @@ typedef rt_base_t rt_off_t; /**< Type for offset
#define ALIGN(n) __attribute__((aligned(n)))
#define rt_inline static __inline
#define RTT_API
#elif defined (__ADSPBLACKFIN__) /* for VisualDSP++ Compiler */
#include <stdarg.h>
#define SECTION(x) __attribute__((section(x)))
#define UNUSED __attribute__((unused))
#define ALIGN(n) __attribute__((aligned(n)))
#define rt_inline static inline
#define RTT_API
#endif
/* event length */