mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 09:32:28 +08:00
add __ICCM16C__ compiler support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@621 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -91,6 +91,11 @@ typedef rt_uint32_t rt_off_t; /* Type for offset. */
|
||||
#define UNUSED __attribute__((unused))
|
||||
#define ALIGN(n) __attribute__((aligned(n)))
|
||||
#define rt_inline static __inline
|
||||
#elif defined (__ICCM16C__) /* for IAR EW M16C Compiler */
|
||||
#include <stdarg.h>
|
||||
#define SECTION(x) @ x
|
||||
#define UNUSED
|
||||
#define rt_inline inline
|
||||
#endif
|
||||
|
||||
/* event length */
|
||||
|
||||
Reference in New Issue
Block a user