Merge pull request #829 from TanekLiang/iar_unused

Add RT_USED definition for IAR
This commit is contained in:
Bernard Xiong 2017-08-25 23:44:37 +08:00 committed by GitHub
commit 5b1aa2a75f
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