-
CONFIG_ARC_STACK_PROTECTION
¶
(No prompt – not directly user assignable.)
Type: bool
Help¶
This option enables either: - The ARC stack checking, or - the MPU-based stack guard to cause a system fatal error if the bounds of the current process stack are overflowed. The two stack guard options are mutually exclusive. The selection of the ARC stack checking is prioritized over the MPU-based stack guard.
Defaults¶
- “y” if
HW_STACK_PROTECTION
&&ARC
Symbols selected by this symbol¶
ARC_STACK_CHECKING
ifARC_HAS_STACK_CHECKING
&&ARC
MPU_STACK_GUARD
if !ARC_STACK_CHECKING
&&ARC_MPU
&&ARC
THREAD_STACK_INFO
ifARC
Kconfig definition¶
At arch/arc/Kconfig:101
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → ARC Options → ARCv2 Family Options
config ARC_STACK_PROTECTION bool default "y" ifHW_STACK_PROTECTION
&&ARC
selectARC_STACK_CHECKING
ifARC_HAS_STACK_CHECKING
&&ARC
selectMPU_STACK_GUARD
if !ARC_STACK_CHECKING
&&ARC_MPU
&&ARC
selectTHREAD_STACK_INFO
ifARC
depends onARC
help This option enables either: - The ARC stack checking, or - the MPU-based stack guard to cause a system fatal error if the bounds of the current process stack are overflowed. The two stack guard options are mutually exclusive. The selection of the ARC stack checking is prioritized over the MPU-based stack guard.
(Definitions include propagated dependencies, including from if’s and menus.)