:orphan: .. title:: CUSTOM_SECTION_ALIGN .. option:: 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 =================== \ :option:`ARM_MPU ` && \ :option:`CPU_HAS_MPU ` && \ :option:`CPU_CORTEX_M ` && !\ :option:`ARM64 ` && \ :option:`ARM ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== .. highlight:: kconfig At ``arch/arm/core/aarch32/cortex_m/mpu/Kconfig:83`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/arm/Kconfig:42`` → ``arch/arm/core/aarch32/Kconfig:237`` → ``arch/arm/core/aarch32/cortex_m/Kconfig:308`` Menu path: (Top) → ARM Options .. parsed-literal:: config CUSTOM_SECTION_ALIGN bool "Custom Section Align" depends on \ :option:`ARM_MPU ` && \ :option:`CPU_HAS_MPU ` && \ :option:`CPU_CORTEX_M ` && !\ :option:`ARM64 ` && \ :option:`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.)*