pa2.2: add ITRACE buffer

This commit is contained in:
xinyangli 2024-03-13 16:54:00 +08:00
parent d67fb1138a
commit c917083554
No known key found for this signature in database
7 changed files with 39 additions and 10 deletions

View file

@ -38,6 +38,7 @@
MUXDEF(CONFIG_TARGET_AM, printf(ANSI_FMT(format, ANSI_FG_RED) "\n", ## __VA_ARGS__), \
(fflush(stdout), fprintf(stderr, ANSI_FMT(format, ANSI_FG_RED) "\n", ## __VA_ARGS__))); \
IFNDEF(CONFIG_TARGET_AM, extern FILE* log_fp; fflush(log_fp)); \
IFDEF(CONFIG_ITRACE, log_itrace_print()); \
extern void assert_fail_msg(); \
assert_fail_msg(); \
assert(cond); \