CONFIG_CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT¶
Validate alignment of a static package buffer
Type: bool
Help¶
When enabled, CBPRINTF_STATIC_PACKAGE asserts when buffer is not
properly aligned. If macro is widely used then assert may impact
memory footprint.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At <Zephyr Library>/os/Kconfig.cbprintf:128
Included via Kconfig:8 → Kconfig.zephyr:43 → <Zephyr Library>/Kconfig:10 → <Zephyr Library>/os/Kconfig:81
Menu path: (Top) → Additional libraries → OS Support Library
config CBPRINTF_STATIC_PACKAGE_CHECK_ALIGNMENT
    bool "Validate alignment of a static package buffer"
    depends on !LOG_PRINTK
    help
      When enabled, CBPRINTF_STATIC_PACKAGE asserts when buffer is not
      properly aligned. If macro is widely used then assert may impact
      memory footprint.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)