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 ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/arch/arm/core/aarch32/mpu/Kconfig:83

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:57<Zephyr>/arch/arm/core/aarch32/Kconfig:297

Menu path: (Top) → ARM Options

config CUSTOM_SECTION_ALIGN
    bool "Custom Section Align"
    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.

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