Add RT_USED definition for IAR

This commit is contained in:
tanek liang 2017-08-25 22:22:35 +08:00
parent b9ebd183ae
commit 9f2f2f0875
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#include <stdarg.h>
#define SECTION(x) @ x
#define RT_UNUSED
#define RT_USED
#define RT_USED __root
#define PRAGMA(x) _Pragma(#x)
#define ALIGN(n) PRAGMA(data_alignment=n)
#define WEAK __weak