Please sign in to comment.
arch: arm: allow user to fall-back to MPU-based guards in ARMv8-M
ARMv8-M architecture supports the built-in stack overflow detection mechanisms via the SPLIM registers. However, the user might still wish to use the traditional MPU-based stack overflow detection mechanism (for testing or other reasons). We now allow the user to enable HW stack protection, but manually turn off BUILTIN_STACK_GUARD option. This will force the MPU_STACK_GUARD option to be selected. It is still not allowed for the user to not select any stack guard mechanisms, if HW_STACK_PROTECTION is selected. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
- Loading branch information...