mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-16 01:05:15 +08:00
Add support for IAR Compiler
This commit is contained in:
1 parent
d2e6715ddb
commit
ead24644f0
1 file changed
+1
-1
+1
-1
@@ -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, ...);
|
||||
|
||||
Reference in new issue
Block a user