瀏覽代碼

Revert "Add support for IAR Compiler"

This reverts commit ead24644f008232f81e0408bfb15e99deff115bb.
Bernard Xiong 3 年之前
父節點
當前提交
2fa1a93497
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 #define rt_kputs(str)
 #else
 #else
 #if defined(__ARMCC_VERSION) || defined(__GNUC__) || \
 #if defined(__ARMCC_VERSION) || defined(__GNUC__) || \
-    defined(__ICCARM__) || defined(__TI_COMPILER_VERSION__)
+    defined(__TI_COMPILER_VERSION__)
 int rt_kprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
 int rt_kprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
 #else
 #else
 int rt_kprintf(const char *fmt, ...);
 int rt_kprintf(const char *fmt, ...);