The latest development version of this page may be more current than this released 2.7.5 version.

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.

Direct dependencies

!LOG_PRINTK

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At lib/os/Kconfig.cbprintf:128

Included via Kconfig:8Kconfig.zephyr:43lib/Kconfig:10lib/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.)