4.1.1 Macros
#define DIAG_LINKER_OPTION_MSG_ENABLE 1
Enables the use of DIAG_MSG in the diagnostic code, if not set to zero.
#define DIAG_PRAGMA(x) _Pragma (#x)
#define DIAG_MSG_EXPAND(s0, x, s1) DIAG_PRAGMA(message ( s0 #x s1))
#define DIAG_MSG(msg, val, info) DIAG_MSG_EXPAND(msg,val, info)
Used to add compiler messages with macro values and any additional info, such as required linker options given the value of relevant config macros.
#define DIAG_SRAM_CHECKERBOARD_SEC_SIZE (0x20U)