Explorar o código

Add support for IAR Compiler

weycen %!s(int64=3) %!d(string=hai) anos
pai
achega
ead24644f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/rtthread.h

+ 1 - 1
include/rtthread.h

@@ -571,7 +571,7 @@ void rt_components_board_init(void);
 #define rt_kputs(str)
 #else
 #if defined(__ARMCC_VERSION) || defined(__GNUC__) || \
-    defined(__TI_COMPILER_VERSION__)
+    defined(__ICCARM__) || defined(__TI_COMPILER_VERSION__)
 int rt_kprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
 #else
 int rt_kprintf(const char *fmt, ...);