This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired 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.)