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

Custom Section Align

Type: bool

Help

MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT(ARMv7-M) sometimes cause memory wasting in linker scripts defined memory sections. Use this symbol to guarantee user custom section align size to avoid more memory used for respect alignment. But that needs carefully configure MPU region and sub-regions(ARMv7-M) to cover this feature.

Direct dependencies

ARM_MPU && CPU_HAS_MPU && ARM

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

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/arm/core/cortex_m/mpu/Kconfig:47

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15arch/arm/Kconfig:13arch/arm/core/Kconfig:168

Menu path: (top menu) → ARM Options

config CUSTOM_SECTION_ALIGN
    bool
    prompt "Custom Section Align" if ARM_MPU && CPU_HAS_MPU && ARM
    depends on ARM_MPU && CPU_HAS_MPU && ARM
    help
      MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT(ARMv7-M) sometimes cause memory
      wasting in linker scripts defined memory sections. Use this symbol
      to guarantee user custom section align size to avoid more memory used
      for respect alignment. But that needs carefully configure MPU region
      and sub-regions(ARMv7-M) to cover this feature.

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