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>/lib/os/Kconfig.cbprintf:128
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:43
→ <Zephyr>/lib/Kconfig:10
→ <Zephyr>/lib/os/Kconfig:146
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.)