We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0d5547 commit 2feb8bdCopy full SHA for 2feb8bd
include/stack_macros.h
@@ -60,7 +60,9 @@
60
* 2. System calls are executed on a separate privileged only stack.
61
*
62
* It is still okay because an MPU region is used to protect task stack which
63
- * means task stack overflow will trigger an MPU fault.
+ * means task stack overflow will trigger an MPU fault for unprivileged tasks.
64
+ * Additionally, architectures with hardware stack overflow checking support
65
+ * (such as Armv8-M) will trigger a fault when a task's stack overflows.
66
*/
67
#if ( ( configCHECK_FOR_STACK_OVERFLOW == 1 ) && ( portSTACK_GROWTH < 0 ) && ( portUSING_MPU_WRAPPERS != 1 ) )
68
0 commit comments