summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-08-19 12:15:50 +1000
committerDamien George <damien@micropython.org>2024-08-28 11:23:11 +1000
commit9af333f2c62de02da2184821c3a59e4d462365ea (patch)
tree4f79aed05d23321f328fa02d48ff21b3f2d0fcbf
parent05cad7b56f5d460db26a468a05bfdeabe4a656db (diff)
zephyr: Increase CONFIG_CONSOLE_GETCHAR_BUFSIZE to 258.
It needs to be at least this big for `tools/pyboard.py` to work, which is used (among other things) by `tests/run-tests.py`. Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/zephyr/prj.conf2
-rw-r--r--ports/zephyr/prj_minimal.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/zephyr/prj.conf b/ports/zephyr/prj.conf
index 604669019..d3983fcc2 100644
--- a/ports/zephyr/prj.conf
+++ b/ports/zephyr/prj.conf
@@ -8,7 +8,7 @@ CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y
CONFIG_CONSOLE_SUBSYS=y
CONFIG_CONSOLE_GETCHAR=y
-CONFIG_CONSOLE_GETCHAR_BUFSIZE=128
+CONFIG_CONSOLE_GETCHAR_BUFSIZE=258
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=128
CONFIG_NEWLIB_LIBC=y
diff --git a/ports/zephyr/prj_minimal.conf b/ports/zephyr/prj_minimal.conf
index 806e26af7..2c89a02fa 100644
--- a/ports/zephyr/prj_minimal.conf
+++ b/ports/zephyr/prj_minimal.conf
@@ -6,7 +6,7 @@ CONFIG_POLL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_CONSOLE_SUBSYS=y
CONFIG_CONSOLE_GETCHAR=y
-CONFIG_CONSOLE_GETCHAR_BUFSIZE=32
+CONFIG_CONSOLE_GETCHAR_BUFSIZE=258
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=32
# TODO: Disable once https://github.com/zephyrproject-rtos/zephyr/pull/13731 is merged
#CONFIG_CONSOLE=n