-
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.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At arch/arm/core/cortex_m/mpu/Kconfig:47
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
→ arch/arm/Kconfig:13
→ arch/arm/core/Kconfig:168
Menu path: (top menu) → ARM Options
config CUSTOM_SECTION_ALIGN bool prompt "Custom Section Align" ifARM_MPU
&&CPU_HAS_MPU
&&ARM
depends onARM_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.)