Skip to content

Commit 861fc23

Browse files
committed
soc: arm: ke1xf: do not enable stack prot on tests with user mode.
This commit enabled TEST_USERSPACE_WITHOUT_HW_STACK_PROTECTION Kconfig option by default for ke1xf SoC Series, which instructs the build to disable HW stack protection from tests that are to run with User Mode enabled. This is done because this platform does not have a sufficient number of MPU regions to support HW stack protection (Stack Guards) and User Mode simultaneously. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent 912c558 commit 861fc23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/testsuite/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ config TEST_ENABLE_USERSPACE
9595
config TEST_USERSPACE_WITHOUT_HW_STACK_PROTECTION
9696
bool "Run User Mode tests without additionally enabling stack protection"
9797
depends on TEST_ENABLE_USERSPACE
98+
default y if SOC_SERIES_KINETIS_KE1XF
9899
help
99100
A HW platform might not have sufficient MPU/MMU capabilities to support
100101
running all test cases with User Mode and HW Stack Protection features

0 commit comments

Comments
 (0)