summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/Kconfig.panic2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/Kconfig.panic b/zephyr/Kconfig.panic
index 768526d1f6..322aaee25d 100644
--- a/zephyr/Kconfig.panic
+++ b/zephyr/Kconfig.panic
@@ -33,7 +33,7 @@ config PLATFORM_EC_CONSOLE_CMD_CRASH
config PLATFORM_EC_STACKOVERFLOW
bool "Console command: crash stack"
depends on PLATFORM_EC_CONSOLE_CMD_CRASH
- default y
+ default y if !ZTEST && !SOC_POSIX
help
This enables the 'stack' parameter for the 'crash' command. This
causes a stack overflow by recursing repeatedly while task switching.