summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.stacks
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2021-04-01 22:28:09 -0600
committerCommit Bot <commit-bot@chromium.org>2021-04-15 00:36:23 +0000
commit783543b32a03598228439affb257dfeeea38779e (patch)
tree5f8e5062fc547a8de7ab0490f6a41eb84550638e /zephyr/Kconfig.stacks
parent483e42d53b0ffe78b1d24607d39eb31bc7e80c79 (diff)
downloadchrome-ec-783543b32a03598228439affb257dfeeea38779e.tar.gz
zephyr: use interrupt based RX buffering
Poll-based RX was technically incorrect since Zephyr was setting up the UART to FIFO mode (instead of byte mode). This change replaces polling the RX UART with interrupt based callbacks. When calling uart_shell_stop(), the ISR will be replaced and will instead queue items to a ring buffer which can be read from uart_getc() (it can also be cleared via the uart_clear_input() function). BRANCH=none BUG=b:181352041 TEST=Build volteer, run, see expected 0xec07 from the GSC. Cq-Depend: chromium:2730870, chromium:2730869 Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: I5d2b61e914b56f678a259b373969522da87e8df3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2728824 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.stacks')
-rw-r--r--zephyr/Kconfig.stacks2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/Kconfig.stacks b/zephyr/Kconfig.stacks
index 6bcb52fd18..bd86810dac 100644
--- a/zephyr/Kconfig.stacks
+++ b/zephyr/Kconfig.stacks
@@ -9,7 +9,7 @@ config ISR_STACK_SIZE
default 1024
config SHELL_STACK_SIZE
- default 960
+ default 1536
# Chromium EC stack sizes