From 2ffb951630dcc988d4580a1cb64df7d4c396c3f7 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 14 Dec 2018 11:56:10 +0300 Subject: [PATCH] console: Kconfig: Update for recent changes Buffer sizes aren't required to be power of 2 for a while. Describe that by setting buffers sizes to 0, one can get non interrupt driven operation. Signed-off-by: Paul Sokolovsky --- subsys/console/Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/subsys/console/Kconfig b/subsys/console/Kconfig index 15541e82f2a..04d1e9c286c 100644 --- a/subsys/console/Kconfig +++ b/subsys/console/Kconfig @@ -33,18 +33,19 @@ config CONSOLE_GETCHAR_BUFSIZE int "console_getchar() buffer size" default 16 help - Buffer size for console_getchar(). Must be power of 2. The - default is optimized to save RAM. You may need to increase - it e.g. to support large host-side clipboard pastes. + Buffer size for console_getchar(). The default is optimized + to save RAM. You may need to increase it e.g. to support + large host-side clipboard pastes. Set to 0 to disable + interrupt-driven operation and use busy-polling. config CONSOLE_PUTCHAR_BUFSIZE int "console_putchar() buffer size" default 16 help - Buffer size for console_putchar(). Must be power of 2. The - default is optimized to save RAM. You may need to increase - it e.g. to support large host-side clipboard pastes (with - echo). + Buffer size for console_putchar(). The default is optimized + to save RAM. You may need to increase it e.g. to support + large host-side clipboard pastes. Set to 0 to disable + interrupt-driven operation and use busy-polling. endif # CONSOLE_GETCHAR