Skip to content

Commit ead2464

Browse files
weycenBernardXiong
authored andcommitted
Add support for IAR Compiler
1 parent d2e6715 commit ead2464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rtthread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ void rt_components_board_init(void);
571571
#define rt_kputs(str)
572572
#else
573573
#if defined(__ARMCC_VERSION) || defined(__GNUC__) || \
574-
defined(__TI_COMPILER_VERSION__)
574+
defined(__ICCARM__) || defined(__TI_COMPILER_VERSION__)
575575
int rt_kprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
576576
#else
577577
int rt_kprintf(const char *fmt, ...);

0 commit comments

Comments
 (0)