diff options
| author | weycen <[email protected]> | 2021-12-26 18:23:31 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2021-12-30 01:42:57 +0800 |
| commit | ead24644f008232f81e0408bfb15e99deff115bb (patch) | |
| tree | 91e6df084418e0c6edb86ee40774664c33641aa1 /include/rtthread.h | |
| parent | d2e6715ddbc03f5e6d0bb3f44e5eb73135a5b258 (diff) | |
Add support for IAR Compiler
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 8f0f43f7cc..1f9d3328c1 100644 --- a/include/rtthread.h +++ b/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, ...); |
