summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.console
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2021-08-13 15:45:33 -0600
committerCommit Bot <commit-bot@chromium.org>2021-08-18 23:45:57 +0000
commit1c616f739262f1271617ff0979b8e7606d45a441 (patch)
treea8a81c658abcd1d9d01600b1063d1f03c02bcec2 /zephyr/Kconfig.console
parentf78eee4550dc747b558c1dfc333ba9b629216f39 (diff)
downloadchrome-ec-1c616f739262f1271617ff0979b8e7606d45a441.tar.gz
zephyr: Disable console help strings
Add support for disabling the console command help strings. With CONFIG_SHELL_HELP=n, 2000 bytes saved on Volteer BUG=none BRANCH=none TEST=zmake testall TEST=Verify console on Volteer with and without CONFIG_SHELL_HELP enabled. Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I2186828f28691182f673851ac27d207b4a4a6f44 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3093492 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.console')
-rw-r--r--zephyr/Kconfig.console5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/Kconfig.console b/zephyr/Kconfig.console
index c1edee71d5..04e1d137bd 100644
--- a/zephyr/Kconfig.console
+++ b/zephyr/Kconfig.console
@@ -26,7 +26,12 @@ config SHELL_PRINTF_BUFF_SIZE
default 130
# Some boards may need to increase the size, depending on the amount of output
+#
+# TODO(b/196627937): zephyr: hang when running help with CONFIG_SHELL_HELP
+# enabled. Increase the TX buffer size to workaround the hang when the help
+# is enabled.
config SHELL_BACKEND_SERIAL_TX_RING_BUFFER_SIZE
+ default 4096 if SHELL_HELP
default 1024
menuconfig PLATFORM_EC_HOSTCMD_CONSOLE