-
Notifications
You must be signed in to change notification settings - Fork 6.8k
/
Kconfig
49 lines (38 loc) · 1.24 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) 2017 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
menuconfig CONSOLE_SUBSYS
bool "Console subsystem/support routines [EXPERIMENTAL]"
help
Console subsystem and helper functions
if CONSOLE_SUBSYS
choice
prompt "Console 'get' function selection"
optional
depends on UART_CONSOLE && SERIAL_SUPPORT_INTERRUPT
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