summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-05-07 16:47:32 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-08 07:36:53 +0000
commita74ef0e2e2773b0dba0df491fca73a3daa74a9e1 (patch)
tree710175e988bd172f262ca613cfa2b29fad9f4c2a
parent134da6c41b629ecb303dcd556e4b2811767b14e3 (diff)
downloadchrome-ec-a74ef0e2e2773b0dba0df491fca73a3daa74a9e1.tar.gz
zephy: Increase shell RX ring buf size
FAFT tests send batched commands to the EC shell, which were overflowing the 64 byte buffer. Increase the RX buffer size to accommodate the FAFT requirements. This was happening on both nivviks and nereid. BUG=b:231646498 TEST=Run FAFT_Setup BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I5ead9e7413d3a3ce6072d4826c423adfed808e36 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3630104 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
-rw-r--r--zephyr/Kconfig.console4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/Kconfig.console b/zephyr/Kconfig.console
index a8c2a9c22a..8f0241a4d9 100644
--- a/zephyr/Kconfig.console
+++ b/zephyr/Kconfig.console
@@ -31,6 +31,10 @@ config SHELL_PRINTF_BUFF_SIZE
config SHELL_BACKEND_SERIAL_TX_RING_BUFFER_SIZE
default 1024
+# For FAFT, need a larger RX ring
+config SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE
+ default 192
+
menuconfig PLATFORM_EC_HOSTCMD_CONSOLE
bool "Console Host Command"
depends on PLATFORM_EC_HOSTCMD