zephyr/subsys/console/Kconfig
Paul Sokolovsky 2ffb951630 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 <paul.sokolovsky@linaro.org>
2018-12-20 12:21:49 +01:00

54 lines
1.2 KiB
Plaintext

#
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
menu "Console"
config CONSOLE_SUBSYS
bool "Console subsystem/support routines [EXPERIMENTAL]"
help
Console subsystem and helper functions
if CONSOLE_SUBSYS
choice
prompt "Console 'get' function selection"
optional
config CONSOLE_GETCHAR
bool "Character by character input and output"
select UART_CONSOLE_DEBUG_SERVER_HOOKS
select CONSOLE_HANDLER
config CONSOLE_GETLINE
bool "Line by line input"
select CONSOLE_HANDLER
endchoice
if CONSOLE_GETCHAR
config CONSOLE_GETCHAR_BUFSIZE
int "console_getchar() buffer size"
default 16
help
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(). 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
endif # CONSOLE_SUBSYS
endmenu