diff options
author | Keith Short <keithshort@chromium.org> | 2021-04-08 13:38:00 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-09 05:25:35 +0000 |
commit | a708619bfd3162e56c9776a5c880994980316bed (patch) | |
tree | ad02cbc1d7697f0c339fbb2db2f5cde01b08ee1f /zephyr/Kconfig.panic | |
parent | f7b050059033086772356760da618d51fe3dbdc4 (diff) | |
download | chrome-ec-a708619bfd3162e56c9776a5c880994980316bed.tar.gz |
zephyr: Disable PLATFORM_EC_STACKOVERFLOW for tests.
Disable the CONFIG_PLATFORM_EC_STACKOVERFLOW for tests and the posix-ec
build to fix a compiler warning.
BUG=none
BRANCH=none
TEST=zmake testall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: If45fc5d342991d7aef8a5392b2eb3b8e9f6b8d2c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2816141
Commit-Queue: Yuval Peress <peress@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.panic')
-rw-r--r-- | zephyr/Kconfig.panic | 2 |
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. |