:orphan: .. title:: MPU_STACK_GUARD_MIN_SIZE_FLOAT .. option:: CONFIG_MPU_STACK_GUARD_MIN_SIZE_FLOAT *(No prompt -- not directly user assignable.)* Type: ``int`` Help ==== Minimum size (and alignment when applicable) of an ARM MPU region, which guards the stack of a thread that is using the Floating Point (FP) context. The width of the guard is set to 128, to accommodate the length of a Cortex-M exception stack frame when the floating point context is active. The FP context is only stacked in sharing FP registers mode, therefore, the option is applicable only when FPU_SHARING is selected. Direct dependencies =================== \ :option:`MPU_STACK_GUARD ` && \ :option:`FPU_SHARING ` && \ :option:`ARM_MPU ` && \ :option:`CPU_HAS_MPU ` && \ :option:`CPU_CORTEX_M ` && !\ :option:`ARM64 ` && \ :option:`ARM ` *(Includes any dependencies from ifs and menus.)* Default ======= - 128 Kconfig definition ================== .. highlight:: kconfig At ``arch/arm/core/aarch32/cortex_m/mpu/Kconfig:64`` 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 → Thread Stack Guards .. parsed-literal:: config MPU_STACK_GUARD_MIN_SIZE_FLOAT int default 128 depends on \ :option:`MPU_STACK_GUARD ` && \ :option:`FPU_SHARING ` && \ :option:`ARM_MPU ` && \ :option:`CPU_HAS_MPU ` && \ :option:`CPU_CORTEX_M ` && !\ :option:`ARM64 ` && \ :option:`ARM ` help Minimum size (and alignment when applicable) of an ARM MPU region, which guards the stack of a thread that is using the Floating Point (FP) context. The width of the guard is set to 128, to accommodate the length of a Cortex-M exception stack frame when the floating point context is active. The FP context is only stacked in sharing FP registers mode, therefore, the option is applicable only when FPU_SHARING is selected. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*