summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Niedzwiecki <dn@semihalf.com>2021-06-29 09:12:42 +0200
committerCommit Bot <commit-bot@chromium.org>2021-07-12 07:32:59 +0000
commite96012c2ebf781480489c80427059691b6dd83c8 (patch)
treeea9065e0325144ddac24272a63a839980e60e30f
parentf1577d473684d09cfe6094dccecaebab7763c135 (diff)
downloadchrome-ec-e96012c2ebf781480489c80427059691b6dd83c8.tar.gz
zephyr: adjust the sizes of shell buffers
The sizes were adjusted and verified for volteer and lazor. Other boards may need adjustments. BUG=b:191724484, b:178033156 BRANCH=none TEST=Verify the console output works Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I9f4aa69729c196222fb2925331f75a863443873a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2988198 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--zephyr/Kconfig.console8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/Kconfig.console b/zephyr/Kconfig.console
index 4e8807b9a4..602a2ea26a 100644
--- a/zephyr/Kconfig.console
+++ b/zephyr/Kconfig.console
@@ -21,6 +21,14 @@ config PLATFORM_EC_CONSOLE_CHANNEL
Boards may #undef this to reduce image size.
+# Adjusted to the longest print message from the timer_info command
+config SHELL_PRINTF_BUFF_SIZE
+ default 130
+
+# Some boards may need to increase the size, depending on the amount of output
+config SHELL_BACKEND_SERIAL_TX_RING_BUFFER_SIZE
+ default 1024
+
menuconfig PLATFORM_EC_HOSTCMD_CONSOLE
bool "Console Host Command"
depends on PLATFORM_EC_HOSTCMD