Skip to content

Commit d4e11a1

Browse files
pdgendtnashif
authored andcommitted
debug: Make stack sentinel incompatible with MPU stack guard
The MPU stack guard can move the start address of a thread stack. Don't allow both options to be enabled at the same time. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 27ad711 commit d4e11a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/debug/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ config STACK_SENTINEL
178178
select THREAD_STACK_INFO
179179
depends on MULTITHREADING
180180
depends on !USERSPACE
181+
depends on !MPU_STACK_GUARD
181182
help
182183
Store a magic value at the lowest addresses of a thread's stack.
183184
Periodically check that this value is still present and kill the

0 commit comments

Comments
 (0)