mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 20:57:20 +08: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 */
|
||||
|
||||
@@ -375,6 +375,11 @@ void rt_interrupt_leave(void);
|
||||
*/
|
||||
rt_uint8_t rt_interrupt_get_nest(void);
|
||||
|
||||
/**
|
||||
* application module
|
||||
*/
|
||||
void rt_system_module_init(void);
|
||||
|
||||
/**
|
||||
* @addtogroup KernelService
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user