-
Notifications
You must be signed in to change notification settings - Fork 12
/
Kconfig
100 lines (78 loc) · 2.43 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Kconfig file for package SEGGER_RTT
menuconfig PKG_USING_SEGGER_RTT
bool "SEGGER_RTT:the RTT of segger jlink instead of uart of console"
default n
if PKG_USING_SEGGER_RTT
choice
prompt "Console type"
default SEGGER_RTT_ENABLE
help
Select the transport type
config SEGGER_RTT_ENABLE
bool "Jlink SEGGER RTT support"
config SWO_ENABLE
bool "ARM CORTEX M SWO support"
endchoice
config SEGGER_RTT_MAX_NUM_UP_BUFFERS
int "SEGGER_RTT_MAX_NUM_UP_BUFFERS"
depends on SEGGER_RTT_ENABLE
help
Max. number of up-buffers (T->H) available on this target (Default: 3)
default 3
config SEGGER_RTT_MAX_NUM_DOWN_BUFFERS
int "SEGGER_RTT_MAX_NUM_DOWN_BUFFERS"
depends on SEGGER_RTT_ENABLE
help
Max. number of down-buffers (H->T) available on this target (Default: 3)
default 3
config BUFFER_SIZE_UP
int "BUFFER_SIZE_UP"
depends on SEGGER_RTT_ENABLE
help
Size of the buffer for terminal output of target, up to host (Default: 1k)
default 1024
config BUFFER_SIZE_DOWN
int "BUFFER_SIZE_DOWN"
depends on SEGGER_RTT_ENABLE
help
Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16)
default 16
config SEGGER_RTT_PRINTF_BUFFER_SIZE
int "SEGGER_RTT_PRINTF_BUFFER_SIZE"
depends on SEGGER_RTT_ENABLE
help
Size of buffer for RTT printf to bulk-send chars via RTT
default 64
config RTT_DEFAULT_BUFFER_INDEX
int "RTT_DEFAULT_BUFFER_INDEX"
depends on SEGGER_RTT_ENABLE
default 0
config RTT_DEFAULT_TERMINAL_INDEX
int "RTT_DEFAULT_TERMINAL_INDEX"
depends on SEGGER_RTT_ENABLE
default 0
config SWO_PORT_NUMBER
int "SWO port number"
depends on SWO_ENABLE
default 0
config PKG_SEGGER_RTT_PATH
string
default "/packages/tools/SEGGER_RTT"
choice
prompt "Version"
default PKG_USING_SEGGER_RTT_LATEST_VERSION
help
Select the package version
config PKG_USING_SEGGER_RTT_V100
bool "v1.0.0"
config PKG_USING_SEGGER_RTT_V110
bool "v1.1.0"
config PKG_USING_SEGGER_RTT_LATEST_VERSION
bool "latest"
endchoice
config PKG_SEGGER_RTT_VER
string
default "v1.0.0" if PKG_USING_SEGGER_RTT_V100
default "v1.1.0" if PKG_USING_SEGGER_RTT_V110
default "latest" if PKG_USING_SEGGER_RTT_LATEST_VERSION
endif