mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user