-
Notifications
You must be signed in to change notification settings - Fork 25
/
Kconfig
178 lines (172 loc) · 3.9 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
mainmenu "RT-Thread Configuration"
config $BSP_DIR
string
option env="BSP_ROOT"
default "."
config $RTT_DIR
string
option env="RTT_ROOT"
default "./rt-thread"
config $PKGS_DIR
string
option env="PKGS_ROOT"
default "packages"
source "$RTT_DIR/KConfig"
source "$PKGS_DIR/KConfig"
config RT_NAME_MAX
int
default 16
config RT_USING_DFS
bool
default y
config RT_USING_POSIX
bool
default n
config DFS_FILESYSTEMS_MAX
int
default 8
config DFS_FILESYSTEM_TYPES_MAX
int
default 8
config DFS_FD_MAX
int
default 32
config RT_USING_DFS_ELMFAT
bool
default y
config RT_USING_DFS_ROMFS
bool
default y
config RT_USING_DFS_DEVFS
bool
default y
config RT_USING_DFS_NET
bool
default n
config FINSH_USING_MSH_ONLY
bool
default y
config RT_TICK_PER_SECOND
int
default 1000
config RT_USING_INTERRUPT_INFO
bool
default y
config RT_SERIAL_RB_BUFSZ
int
default 4096
config RT_USING_SERIAL
bool
default y
config RT_USING_PIN
bool
default y
config RT_USING_I2C
bool
default y
config RT_USING_SFUD
bool
default y
config RT_USING_RTC
bool
default y
config RT_USING_WDT
bool
default y
config RT_USING_LWIP
bool
default n
config RT_LWIP_RAW
bool
default y
config RT_MEMP_NUM_NETCONN
int
default 16
config RT_LWIP_NETIF_LOOPBACK
bool
default y
config LWIP_DHCP_CHECK_LINK_UP
int
default 1
menu "Bsp definition options"
config RT_USING_SDIO
bool "Using SDIO device drivers"
default n
config RT_USING_SPI
bool "Using SPI device drivers"
default n
config RT_USING_PWM
bool "Using PWM device drivers"
default n
config RT_USING_LCD
bool "Using LCD device drivers"
default n
config PKG_USING_LITTLEVGL2RTT
bool "Using Littlevgl2RTT"
default n
if PKG_USING_LITTLEVGL2RTT
config LV_MEM_CUSTOM
int
default 1
config LV_COLOR_DEPTH
int "color depth"
default 16
config LV_HOR_RES
int "horizontal pixels"
default 800
config LV_VER_RES
int "vertical pixels"
default 480
config LV_DPI
int "DPI(dot per inch)"
default 50
config LITTLEVGL2RTT_USING_DEMO
bool
default y
endif
choice
prompt "Dynamic Memory Management"
default RT_USING_SLAB
config RT_USING_NOHEAP
bool "Disable Heap"
config RT_USING_SMALL_MEM
bool "Small Memory Algorithm"
config RT_USING_SLAB
bool "SLAB Algorithm for large memory"
if RT_USING_MEMHEAP
config RT_USING_MEMHEAP_AS_HEAP
bool "Use all of memheap objects as heap"
endif
endchoice
choice
prompt "Support long file name"
default RT_DFS_ELM_USE_LFN_3
config RT_DFS_ELM_USE_LFN_0
bool "0: LFN disable"
config RT_DFS_ELM_USE_LFN_1
bool "1: LFN with static LFN working buffer"
config RT_DFS_ELM_USE_LFN_2
bool "2: LFN with dynamic LFN working buffer on the stack"
config RT_DFS_ELM_USE_LFN_3
bool "3: LFN with dynamic LFN working buffer on the heap"
endchoice
choice
prompt "lwIP version"
default RT_USING_LWIP202
config RT_USING_LWIP141
bool "lwIP v1.4.1"
config RT_USING_LWIP202
bool "lwIP v2.0.2"
endchoice
menu "Static IPv4 Address"
config RT_LWIP_IPADDR
string "IPv4: IP address"
default 192.168.100.30
config RT_LWIP_GWADDR
string "IPv4: Gateway address"
default 192.168.100.1
config RT_LWIP_MSKADDR
string "IPv4: Mask address"
default 255.255.255.0
endmenu
endmenu