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

Always use the heap big chunks mode

Type: bool

Help

The sys_heap allocator by default returns pointers to blocks which are guaranteed to be aligned to the pointer size. By enabling the “big chunks” mode, the returned blocks are guaranteed to be 8 byte aligned, also on 32-bit platforms. If this option is enabled, the “big chunks” mode will always be used by sys_heap.

Default

  • y

Kconfig definitions

At arch/sparc/Kconfig:17

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12

Menu path: (Top) → SPARC Options

config SYS_HEAP_ALWAYS_BIG_MODE
    bool
    default y
    depends on SPARC

At lib/os/Kconfig:49

Included via Kconfig:8Kconfig.zephyr:33lib/Kconfig:16

Menu path: (Top) → Additional libraries → OS Support Library

config SYS_HEAP_ALWAYS_BIG_MODE
    bool "Always use the heap big chunks mode"
    help
      The sys_heap allocator by default returns pointers to blocks
      which are guaranteed to be aligned to the pointer size.
      By enabling the "big chunks" mode, the returned blocks are
      guaranteed to be 8 byte aligned, also on 32-bit platforms.
      If this option is enabled, the "big chunks" mode will always
      be used by sys_heap.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)