CONFIG_CUSTOM_SECTION_MIN_ALIGN_SIZE

Custom Section Align Size

Type: int

Help

Custom align size of memory section in linker scripts. Usually it should consume less alignment memory. Although this alignment size is configured by users, it must also respect the power of two regulation if hardware requires.

Direct dependencies

ARM_MPU && CPU_HAS_MPU && CPU_CORTEX_M && !ARM64 && ARM

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/arm/Kconfig:42<Zephyr>/arch/arm/core/aarch32/Kconfig:237<Zephyr>/arch/arm/core/aarch32/cortex_m/Kconfig:301

Menu path: (Top) → ARM Options

config CUSTOM_SECTION_MIN_ALIGN_SIZE
    int "Custom Section Align Size"
    default 32
    depends on ARM_MPU && CPU_HAS_MPU && CPU_CORTEX_M && !ARM64 && ARM
    help
      Custom align size of memory section in linker scripts. Usually
      it should consume less alignment memory. Although this alignment
      size is configured by users, it must also respect the power of
      two regulation if hardware requires.

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