Compiler-Specific Support#

Compiler-specific definitions for string section placement.

Macros#

#define
SL_COMPACT_STRINGS_SECTION __attribute__((section(".log_fmt")))

Linker section attribute for log format strings.

Macro Definition Documentation#

SL_COMPACT_STRINGS_SECTION#

#define SL_COMPACT_STRINGS_SECTION
Value:
__attribute__((section(".log_fmt")))

Linker section attribute for log format strings.

This attribute places log format strings in a dedicated memory section for optimized memory layout and potential compression or removal.