CONFIG_STACK_ALIGN_DOUBLE_WORD

Align stacks on double-words (8 octets)

Type: bool

Help

This is needed to conform to AAPCS, the procedure call standard for the ARM. It wastes stack space.

Direct dependencies

CPU_CORTEX_M && CPU_CORTEX_M && ARM

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At arch/arm/core/cortex_m/Kconfig:278

Included via Kconfig:10Kconfig.zephyr:23arch/Kconfig:16arch/arm/Kconfig:26arch/arm/core/Kconfig:162

Menu path: (top menu) → ARM Options → ARM Cortex-M options

config STACK_ALIGN_DOUBLE_WORD
    bool
    prompt "Align stacks on double-words (8 octets)" if CPU_CORTEX_M && CPU_CORTEX_M && ARM
    default "y" if CPU_CORTEX_M && CPU_CORTEX_M && ARM
    depends on CPU_CORTEX_M && CPU_CORTEX_M && ARM
    help
      This is needed to conform to AAPCS, the procedure call standard for
      the ARM. It wastes stack space.

(Definitions include propagated dependencies, including from if’s and menus.)