rtconfig.h 5.0 KB
Newer Older
S
SummerGift 已提交
1 2
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__
L
lizhen9880 已提交
3

S
SummerGift 已提交
4 5
/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Configuration */
L
lizhen9880 已提交
6

S
SummerGift 已提交
7
/* RT-Thread Kernel */
L
lizhen9880 已提交
8

S
SummerGift 已提交
9 10 11 12
#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 1000
L
lizhen9880 已提交
13 14
#define RT_DEBUG
#define RT_USING_OVERFLOW_CHECK
S
SummerGift 已提交
15 16
#define RT_DEBUG_INIT 1
/* RT_DEBUG_THREAD is not set */
L
lizhen9880 已提交
17
#define RT_USING_HOOK
S
SummerGift 已提交
18 19
#define IDLE_THREAD_STACK_SIZE 1024
/* RT_USING_TIMER_SOFT is not set */
L
lizhen9880 已提交
20

S
SummerGift 已提交
21
/* Inter-Thread communication */
L
lizhen9880 已提交
22 23 24 25 26 27

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
28
/* RT_USING_SIGNALS is not set */
L
lizhen9880 已提交
29

S
SummerGift 已提交
30
/* Memory Management */
L
lizhen9880 已提交
31

S
SummerGift 已提交
32
#define RT_USING_MEMPOOL
L
lizhen9880 已提交
33
#define RT_USING_MEMHEAP
S
SummerGift 已提交
34
#define RT_USING_HEAP
L
lizhen9880 已提交
35
#define RT_USING_SMALL_MEM
S
SummerGift 已提交
36
/* RT_USING_SLAB is not set */
L
lizhen9880 已提交
37

S
SummerGift 已提交
38
/* Kernel Device Object */
L
lizhen9880 已提交
39 40

#define RT_USING_DEVICE
S
SummerGift 已提交
41 42 43 44
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart"
/* RT_USING_MODULE is not set */
L
lizhen9880 已提交
45

S
SummerGift 已提交
46
/* RT-Thread Components */
L
lizhen9880 已提交
47

S
SummerGift 已提交
48 49
#define RT_USING_COMPONENTS_INIT
/* RT_USING_USER_MAIN is not set */
L
lizhen9880 已提交
50

S
SummerGift 已提交
51
/* C++ features */
L
lizhen9880 已提交
52

S
SummerGift 已提交
53
/* RT_USING_CPLUSPLUS is not set */
L
lizhen9880 已提交
54

S
SummerGift 已提交
55
/* Command shell */
L
lizhen9880 已提交
56 57

#define RT_USING_FINSH
58
#define FINSH_USING_HISTORY
L
lizhen9880 已提交
59 60
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
61
#define FINSH_THREAD_PRIORITY 20
S
SummerGift 已提交
62
#define FINSH_THREAD_STACK_SIZE 2048
63
#define FINSH_CMD_SIZE 80
S
SummerGift 已提交
64 65
/* FINSH_USING_AUTH is not set */
/* FINSH_USING_MSH is not set */
L
lizhen9880 已提交
66

S
SummerGift 已提交
67
/* Device virtual file system */
L
lizhen9880 已提交
68

69
#define RT_USING_DFS
70 71 72
#define DFS_USING_WORKDIR
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FD_MAX 4
73
#define RT_USING_DFS_ELMFAT
B
bernard 已提交
74 75 76

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

77 78
#define RT_DFS_ELM_CODE_PAGE 437
#define RT_DFS_ELM_WORD_ACCESS
79
#define RT_DFS_ELM_USE_LFN_0
80 81
/* RT_DFS_ELM_USE_LFN_1 is not set */
/* RT_DFS_ELM_USE_LFN_2 is not set */
82 83
/* RT_DFS_ELM_USE_LFN_3 is not set */
#define RT_DFS_ELM_USE_LFN 0
84 85
#define RT_DFS_ELM_MAX_LFN 255
#define RT_DFS_ELM_DRIVES 2
86
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
87 88 89
/* RT_DFS_ELM_USE_ERASE is not set */
#define RT_DFS_ELM_REENTRANT
#define RT_USING_DFS_DEVFS
S
SummerGift 已提交
90
#define RT_USING_DFS_NET
B
bernard 已提交
91 92 93
/* RT_USING_DFS_ROMFS is not set */
/* RT_USING_DFS_RAMFS is not set */
/* RT_USING_DFS_UFFS is not set */
94
/* RT_USING_DFS_NFS is not set */
S
SummerGift 已提交
95 96

/* Device Drivers */
L
lizhen9880 已提交
97

S
SummerGift 已提交
98 99 100 101 102 103 104 105
#define RT_USING_DEVICE_IPC
#define RT_USING_SERIAL
/* RT_USING_CAN is not set */
/* RT_USING_HWTIMER is not set */
#define RT_USING_I2C
#define RT_USING_I2C_BITOPS
/* RT_USING_PIN is not set */
/* RT_USING_MTD_NOR is not set */
L
lizhen9880 已提交
106
#define RT_USING_MTD_NAND
107
/* RT_MTD_NAND_DEBUG is not set */
S
SummerGift 已提交
108
#define RT_USING_RTC
109 110
/* RT_USING_SDIO is not set */
/* RT_USING_SPI is not set */
S
SummerGift 已提交
111 112 113 114
/* RT_USING_WDT is not set */
/* RT_USING_USB_HOST is not set */
/* RT_USING_USB_DEVICE is not set */

115
/* POSIX layer and C standard library */
116

S
SummerGift 已提交
117 118
#define RT_USING_LIBC
/* RT_USING_PTHREADS is not set */
S
SummerGift 已提交
119 120 121
#define RT_USING_POSIX
/* RT_USING_POSIX_MMAP is not set */
/* RT_USING_POSIX_TERMIOS is not set */
S
SummerGift 已提交
122 123 124 125 126

/* Network stack */

/* light weight TCP/IP stack */

127
#define RT_USING_LWIP
S
SummerGift 已提交
128 129
/* RT_USING_LWIP141 is not set */
#define RT_USING_LWIP202
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
/* RT_LWIP_IGMP is not set */
#define RT_LWIP_ICMP
/* RT_LWIP_SNMP is not set */
#define RT_LWIP_DNS
#define RT_LWIP_DHCP
#define IP_SOF_BROADCAST 1
#define IP_SOF_BROADCAST_RECV 1
#define LWIP_USING_DHCPD
#define RT_LWIP_UDP
#define RT_LWIP_TCP
/* RT_LWIP_RAW is not set */
/* RT_LWIP_PPP is not set */
/* RT_LWIP_PPPOE is not set */
/* RT_LWIP_PPPOS is not set */
#define RT_LWIP_PBUF_NUM 16
#define RT_LWIP_RAW_PCB_NUM 4
#define RT_LWIP_UDP_PCB_NUM 4
#define RT_LWIP_TCP_PCB_NUM 4
#define RT_LWIP_TCP_SEG_NUM 40
#define RT_LWIP_TCP_SND_BUF 8196
#define RT_LWIP_TCP_WND 8196
#define RT_LWIP_TCPTHREAD_PRIORITY 10
#define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
#define RT_LWIP_TCPTHREAD_STACKSIZE 1024
#define RT_LWIP_ETHTHREAD_PRIORITY 12
#define RT_LWIP_ETHTHREAD_STACKSIZE 1024
#define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
/* RT_LWIP_REASSEMBLY_FRAG is not set */
#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
S
SummerGift 已提交
163 164 165 166

/* Modbus master and slave stack */

/* RT_USING_MODBUS is not set */
167 168 169 170 171
/* RT_USING_NETUTILS is not set */

/* RT-Thread UI Engine */

/* RT_USING_GUIENGINE is not set */
S
SummerGift 已提交
172 173 174

/* RT-Thread online packages */

175 176 177 178 179
/* system packages */

/* PKG_USING_PARTITION is not set */
/* PKG_USING_SQLITE is not set */

S
SummerGift 已提交
180 181
/* IoT - internet of things */

S
SummerGift 已提交
182
/* PKG_USING_PAHOMQTT is not set */
S
SummerGift 已提交
183
/* PKG_USING_WEBCLIENT is not set */
184 185
/* PKG_USING_MONGOOSE is not set */
/* PKG_USING_WEBTERMINAL is not set */
S
SummerGift 已提交
186 187
/* PKG_USING_CJSON is not set */
/* PKG_USING_EZXML is not set */
S
SummerGift 已提交
188

189
/* security packages */
S
SummerGift 已提交
190

191
/* PKG_USING_MBEDTLS is not set */
S
SummerGift 已提交
192

193
/* language packages */
S
SummerGift 已提交
194

195
/* PKG_USING_JERRYSCRIPT is not set */
S
SummerGift 已提交
196 197 198

/* multimedia packages */

199
/* tools packages */
S
SummerGift 已提交
200 201

/* PKG_USING_CMBACKTRACE is not set */
202 203 204 205 206
/* PKG_USING_EASYLOGGER is not set */

/* miscellaneous packages */

/* PKG_USING_HELLO is not set */
S
SummerGift 已提交
207 208 209 210 211
#define RT_USING_EXT_SDRAM
#define RT_USING_UART1
#define RT_USING_UART2
#define RT_USING_UART3
#define RT_USING_SPI5
B
bernard 已提交
212
#define RT_RTC_NAME "rtc"
213

L
lizhen9880 已提交
214
#endif