diff --git a/arch/arm/core/Kconfig b/arch/arm/core/Kconfig index 4822694b2fa..ea3412c7c79 100644 --- a/arch/arm/core/Kconfig +++ b/arch/arm/core/Kconfig @@ -42,6 +42,23 @@ config ARM_STACK_PROTECTION This option enables MPU stack guard to cause a system fatal error if the bounds of the current process stack are overflowed. +config ARM_SECURE_FIRMWARE + bool + default n + help + This option enables Zephyr to include code that executes in + Secure state, as well as to exclude code that is designed to + execute only in Non-secure state. The option is only applicable + to ARMv8-M MCUs that implement the Security Extension. + + Code executing in Secure state has access to both the Secure + and Non-Secure resources of the Cortex-M MCU. + + Code executing in Non-Secure state may trigger Secure Faults, + if Secure MCU resources are accessed from the Non-Secure state. + Secure Faults may only be handled by code executing in Secure + state. + menu "Architectue Floating Point Options" depends on CPU_HAS_FPU