mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
[toolchain] Added support for the TASKING toolchain.
This commit is contained in:
@@ -192,6 +192,18 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
|
||||
#define RT_WEAK
|
||||
#define rt_inline static inline
|
||||
#define RTT_API
|
||||
#elif defined (__TASKING__)
|
||||
|
||||
#include <stdarg.h>
|
||||
#define SECTION(x)
|
||||
#define RT_UNUSED
|
||||
#define RT_USED
|
||||
#define PRAGMA(x) _Pragma(#x)
|
||||
#define ALIGN(n)
|
||||
#define RT_WEAK
|
||||
#define rt_inline static inline
|
||||
#define RTT_API
|
||||
|
||||
#else
|
||||
#error not supported tool chain
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user