Browse Source

Add RT_USED definition for IAR

tanek liang 7 years ago
parent
commit
9f2f2f0875
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/rtdef.h

+ 1 - 1
include/rtdef.h

@@ -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