rtconfig.h 7.8 KB
Newer Older
南工孙冬梅's avatar
南工孙冬梅 已提交
1 2 3 4 5 6 7 8 9 10
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Configuration */

/* RT-Thread Kernel */

#define RT_NAME_MAX 10
#define RT_ALIGN_SIZE 8
B
Bernard Xiong 已提交
11
/* RT_THREAD_PRIORITY_8 is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
12
#define RT_THREAD_PRIORITY_32
B
Bernard Xiong 已提交
13
/* RT_THREAD_PRIORITY_256 is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
14 15
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 1000
C
chinesebear 已提交
16 17
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
B
Bernard Xiong 已提交
18
#define RT_IDEL_HOOK_LIST_SIZE 4
南工孙冬梅's avatar
南工孙冬梅 已提交
19
#define IDLE_THREAD_STACK_SIZE 1024
B
Bernard Xiong 已提交
20 21 22 23 24 25 26 27 28 29 30 31
/* RT_USING_TIMER_SOFT is not set */
#define RT_DEBUG
/* RT_DEBUG_INIT_CONFIG is not set */
/* RT_DEBUG_THREAD_CONFIG is not set */
/* RT_DEBUG_SCHEDULER_CONFIG is not set */
/* RT_DEBUG_IPC_CONFIG is not set */
/* RT_DEBUG_TIMER_CONFIG is not set */
/* RT_DEBUG_IRQ_CONFIG is not set */
/* RT_DEBUG_MEM_CONFIG is not set */
/* RT_DEBUG_SLAB_CONFIG is not set */
/* RT_DEBUG_MEMHEAP_CONFIG is not set */
/* RT_DEBUG_MODULE_CONFIG is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
32 33 34

/* Inter-Thread communication */

C
chinesebear 已提交
35 36 37 38 39
#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
B
Bernard Xiong 已提交
40
/* RT_USING_SIGNALS is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
41 42

/* Memory Management */
C
chinesebear 已提交
43 44 45

#define RT_USING_MEMPOOL
#define RT_USING_MEMHEAP
B
Bernard Xiong 已提交
46
/* RT_USING_NOHEAP is not set */
C
chinesebear 已提交
47
#define RT_USING_SMALL_MEM
B
Bernard Xiong 已提交
48 49 50
/* RT_USING_SLAB is not set */
/* RT_USING_MEMHEAP_AS_HEAP is not set */
/* RT_USING_MEMTRACE is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
51
#define RT_USING_HEAP
C
chinesebear 已提交
52

南工孙冬梅's avatar
南工孙冬梅 已提交
53
/* Kernel Device Object */
54

南工孙冬梅's avatar
南工孙冬梅 已提交
55
#define RT_USING_DEVICE
B
Bernard Xiong 已提交
56
/* RT_USING_DEVICE_OPS is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
57
#define RT_USING_INTERRUPT_INFO
C
chinesebear 已提交
58
#define RT_USING_CONSOLE
南工孙冬梅's avatar
南工孙冬梅 已提交
59 60 61 62
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart2"

/* RT-Thread Components */
C
chinesebear 已提交
63 64

#define RT_USING_COMPONENTS_INIT
Z
zhuangwei123 已提交
65 66
#define RT_USING_USER_MAIN
#define RT_MAIN_THREAD_STACK_SIZE 2048
B
Bernard Xiong 已提交
67
#define RT_MAIN_THREAD_PRIORITY 10
南工孙冬梅's avatar
南工孙冬梅 已提交
68 69 70

/* C++ features */

B
Bernard Xiong 已提交
71
/* RT_USING_CPLUSPLUS is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
72 73 74

/* Command shell */

C
chinesebear 已提交
75
#define RT_USING_FINSH
76
#define FINSH_THREAD_NAME "tshell"
南工孙冬梅's avatar
南工孙冬梅 已提交
77
#define FINSH_USING_HISTORY
78
#define FINSH_HISTORY_LINES 5
C
chinesebear 已提交
79 80
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
B
Bernard Xiong 已提交
81
/* FINSH_ECHO_DISABLE_DEFAULT is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
82 83 84
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
#define FINSH_CMD_SIZE 80
B
Bernard Xiong 已提交
85
/* FINSH_USING_AUTH is not set */
86 87
#define FINSH_USING_MSH
#define FINSH_USING_MSH_DEFAULT
B
Bernard Xiong 已提交
88
/* FINSH_USING_MSH_ONLY is not set */
89
#define FINSH_ARG_MAX 10
C
chinesebear 已提交
90

南工孙冬梅's avatar
南工孙冬梅 已提交
91
/* Device virtual file system */
C
chinesebear 已提交
92

93
#define RT_USING_DFS
南工孙冬梅's avatar
南工孙冬梅 已提交
94 95 96 97
#define DFS_USING_WORKDIR
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FILESYSTEM_TYPES_MAX 2
#define DFS_FD_MAX 4
B
Bernard Xiong 已提交
98
/* RT_USING_DFS_MNTTABLE is not set */
C
chinesebear 已提交
99
#define RT_USING_DFS_ELMFAT
南工孙冬梅's avatar
南工孙冬梅 已提交
100 101 102

/* elm-chan's FatFs, Generic FAT Filesystem Module */

103
#define RT_DFS_ELM_CODE_PAGE 936
南工孙冬梅's avatar
南工孙冬梅 已提交
104 105
#define RT_DFS_ELM_WORD_ACCESS
#define RT_DFS_ELM_USE_LFN_0
B
Bernard Xiong 已提交
106 107 108
/* RT_DFS_ELM_USE_LFN_1 is not set */
/* RT_DFS_ELM_USE_LFN_2 is not set */
/* RT_DFS_ELM_USE_LFN_3 is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
109 110 111 112
#define RT_DFS_ELM_USE_LFN 0
#define RT_DFS_ELM_MAX_LFN 64
#define RT_DFS_ELM_DRIVES 2
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
B
Bernard Xiong 已提交
113
/* RT_DFS_ELM_USE_ERASE is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
114
#define RT_DFS_ELM_REENTRANT
B
Bernard Xiong 已提交
115 116 117 118 119 120
/* RT_USING_DFS_DEVFS is not set */
/* RT_USING_DFS_ROMFS is not set */
/* RT_USING_DFS_RAMFS is not set */
/* RT_USING_DFS_UFFS is not set */
/* RT_USING_DFS_JFFS2 is not set */
/* RT_USING_DFS_NFS is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
121 122 123 124

/* Device Drivers */

#define RT_USING_DEVICE_IPC
B
Bernard Xiong 已提交
125
#define RT_PIPE_BUFSZ 512
南工孙冬梅's avatar
南工孙冬梅 已提交
126 127
#define RT_USING_SERIAL
#define RT_USING_CAN
B
Bernard Xiong 已提交
128 129 130
/* RT_CAN_USING_HDR is not set */
/* RT_USING_HWTIMER is not set */
/* RT_USING_CPUTIME is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
131 132 133
#define RT_USING_I2C
#define RT_USING_I2C_BITOPS
#define RT_USING_PIN
B
Bernard Xiong 已提交
134 135 136 137 138 139 140
/* RT_USING_PWM is not set */
/* RT_USING_MTD_NOR is not set */
/* RT_USING_MTD_NAND is not set */
/* RT_USING_MTD is not set */
/* RT_USING_PM is not set */
/* RT_USING_RTC is not set */
/* RT_USING_SDIO is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
141
#define RT_USING_SPI
142
#define RT_USING_SPI_MSD
B
Bernard Xiong 已提交
143 144 145 146 147 148 149 150 151 152 153
/* RT_USING_SFUD is not set */
/* RT_USING_W25QXX is not set */
/* RT_USING_GD is not set */
/* RT_USING_ENC28J60 is not set */
/* RT_USING_SPI_WIFI is not set */
/* RT_USING_WDT is not set */
/* RT_USING_AUDIO is not set */

/* Using WiFi */

/* RT_USING_WIFI is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
154 155 156

/* Using USB */

B
Bernard Xiong 已提交
157 158
/* RT_USING_USB_HOST is not set */
/* RT_USING_USB_DEVICE is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
159 160 161 162 163

/* POSIX layer and C standard library */

#define RT_USING_LIBC
#define RT_USING_PTHREADS
B
Bernard Xiong 已提交
164 165
/* RT_USING_POSIX is not set */
/* RT_USING_MODULE is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
166

B
Bernard Xiong 已提交
167 168 169 170 171
/* Network */

/* Socket abstraction layer */

/* RT_USING_SAL is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
172 173 174

/* light weight TCP/IP stack */

175 176
#define RT_USING_LWIP
#define RT_USING_LWIP141
B
Bernard Xiong 已提交
177 178
/* RT_USING_LWIP202 is not set */
/* RT_USING_LWIP210 is not set */
179
#define RT_LWIP_IGMP
南工孙冬梅's avatar
南工孙冬梅 已提交
180
#define RT_LWIP_ICMP
B
Bernard Xiong 已提交
181
/* RT_LWIP_SNMP is not set */
C
chinesebear 已提交
182
#define RT_LWIP_DNS
Z
zhuangwei123 已提交
183 184 185
#define RT_LWIP_DHCP
#define IP_SOF_BROADCAST 1
#define IP_SOF_BROADCAST_RECV 1
南工孙冬梅's avatar
南工孙冬梅 已提交
186 187 188

/* Static IPv4 Address */

B
bernard 已提交
189
#define RT_LWIP_IPADDR "192.168.1.254"
南工孙冬梅's avatar
南工孙冬梅 已提交
190 191 192 193
#define RT_LWIP_GWADDR "192.168.1.1"
#define RT_LWIP_MSKADDR "255.255.255.0"
#define RT_LWIP_UDP
#define RT_LWIP_TCP
B
Bernard Xiong 已提交
194 195
/* RT_LWIP_RAW is not set */
/* RT_LWIP_PPP is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
196 197 198 199 200 201 202 203 204 205 206
#define RT_MEMP_NUM_NETCONN 8
#define RT_LWIP_PBUF_NUM 4
#define RT_LWIP_RAW_PCB_NUM 4
#define RT_LWIP_UDP_PCB_NUM 4
#define RT_LWIP_TCP_PCB_NUM 3
#define RT_LWIP_TCP_SEG_NUM 40
#define RT_LWIP_TCP_SND_BUF 4096
#define RT_LWIP_TCP_WND 2048
#define RT_LWIP_TCPTHREAD_PRIORITY 12
#define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
#define RT_LWIP_TCPTHREAD_STACKSIZE 4096
B
Bernard Xiong 已提交
207 208
/* LWIP_NO_RX_THREAD is not set */
/* LWIP_NO_TX_THREAD is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
209 210 211
#define RT_LWIP_ETHTHREAD_PRIORITY 14
#define RT_LWIP_ETHTHREAD_STACKSIZE 512
#define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
B
Bernard Xiong 已提交
212
/* RT_LWIP_REASSEMBLY_FRAG is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
213 214 215 216 217
#define LWIP_NETIF_STATUS_CALLBACK 1
#define SO_REUSE 1
#define LWIP_SO_RCVTIMEO 1
#define LWIP_SO_SNDTIMEO 1
#define LWIP_SO_RCVBUF 1
B
Bernard Xiong 已提交
218
/* RT_LWIP_NETIF_LOOPBACK is not set */
219
#define LWIP_NETIF_LOOPBACK 0
B
Bernard Xiong 已提交
220 221
/* RT_LWIP_STATS is not set */
/* RT_LWIP_DEBUG is not set */
B
bernard 已提交
222

南工孙冬梅's avatar
南工孙冬梅 已提交
223
/* Modbus master and slave stack */
C
chinesebear 已提交
224

B
Bernard Xiong 已提交
225 226 227 228 229 230
/* RT_USING_MODBUS is not set */

/* AT commands */

/* RT_USING_AT is not set */
/* LWIP_USING_DHCPD is not set */
231

南工孙冬梅's avatar
南工孙冬梅 已提交
232 233
/* VBUS(Virtual Software BUS) */

B
Bernard Xiong 已提交
234
/* RT_USING_VBUS is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
235 236 237

/* Utilities */

B
Bernard Xiong 已提交
238 239 240
/* RT_USING_LOGTRACE is not set */
/* RT_USING_RYM is not set */
/* RT_USING_ULOG is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
241 242

/* RT-Thread online packages */
勤为本 已提交
243

244 245 246 247
/* system packages */

/* RT-Thread GUI Engine */

B
Bernard Xiong 已提交
248 249 250 251 252
/* PKG_USING_GUIENGINE is not set */
/* PKG_USING_LWEXT4 is not set */
/* PKG_USING_PARTITION is not set */
/* PKG_USING_SQLITE is not set */
/* PKG_USING_RTI is not set */
253

南工孙冬梅's avatar
南工孙冬梅 已提交
254 255
/* IoT - internet of things */

B
Bernard Xiong 已提交
256 257 258 259 260 261 262 263 264
/* PKG_USING_PAHOMQTT is not set */
/* PKG_USING_WEBCLIENT is not set */
/* PKG_USING_MONGOOSE is not set */
/* PKG_USING_WEBTERMINAL is not set */
/* PKG_USING_CJSON is not set */
/* PKG_USING_LJSON is not set */
/* PKG_USING_EZXML is not set */
/* PKG_USING_NANOPB is not set */
/* PKG_USING_GAGENT_CLOUD is not set */
Z
zhuangwei123 已提交
265 266 267 268 269

/* Wi-Fi */

/* Marvell WiFi */

B
Bernard Xiong 已提交
270
/* PKG_USING_WLANMARVELL is not set */
Z
zhuangwei123 已提交
271 272 273

/* Wiced WiFi */

B
Bernard Xiong 已提交
274 275 276 277
/* PKG_USING_WLAN_WICED is not set */
/* PKG_USING_COAP is not set */
/* PKG_USING_NOPOLL is not set */
/* PKG_USING_NETUTILS is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
278 279 280

/* security packages */

B
Bernard Xiong 已提交
281 282 283
/* PKG_USING_MBEDTLS is not set */
/* PKG_USING_libsodium is not set */
/* PKG_USING_TINYCRYPT is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
284 285 286

/* language packages */

B
Bernard Xiong 已提交
287 288
/* PKG_USING_JERRYSCRIPT is not set */
/* PKG_USING_MICROPYTHON is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
289 290 291

/* multimedia packages */

B
Bernard Xiong 已提交
292
/* PKG_USING_OPENMV is not set */
Z
zhuangwei123 已提交
293

南工孙冬梅's avatar
南工孙冬梅 已提交
294 295
/* tools packages */

B
Bernard Xiong 已提交
296 297 298 299
/* PKG_USING_CMBACKTRACE is not set */
/* PKG_USING_EASYLOGGER is not set */
/* PKG_USING_SYSTEMVIEW is not set */
/* PKG_USING_IPERF is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
300 301 302

/* miscellaneous packages */

B
Bernard Xiong 已提交
303 304 305 306
/* PKG_USING_FASTLZ is not set */
/* PKG_USING_MINILZO is not set */
/* PKG_USING_QUICKLZ is not set */
/* PKG_USING_MULTIBUTTON is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
307 308 309

/* example package: hello */

B
Bernard Xiong 已提交
310 311
/* PKG_USING_HELLO is not set */
/* RT_USING_SELF_BOOT is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
312 313 314
#define RT_USING_UART2
#define RT_UART_RX_BUFFER_SIZE 64
#define RT_USING_GMAC_INT_MODE
B
Bernard Xiong 已提交
315 316 317
/* RT_USING_FPU is not set */
/* RT_USING_SPI0 is not set */
/* RT_USING_SPI1 is not set */
南工孙冬梅's avatar
南工孙冬梅 已提交
318 319 320 321
#define RT_USING_I2C1
#define RT_USING_I2C2
#define USING_BXCAN0
#define USING_BXCAN1
C
chinesebear 已提交
322 323

#endif