This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 && ARM

(Includes any dependencies from ifs and menus.)

Default

  • 32

Kconfig definition

At arch/arm/core/aarch32/mpu/Kconfig:92

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

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 && 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.)