rtconfig.h 3.4 KB
Newer Older
B
bernard 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

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

/* RT-Thread Kernel */

#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
#define RT_THREAD_PRIORITY_32
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100
M
Ming, Bai 已提交
14 15
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
16
#define RT_USING_IDLE_HOOK
17
#define RT_IDLE_HOOK_LIST_SIZE 4
B
bernard 已提交
18
#define IDLE_THREAD_STACK_SIZE 256
19 20 21

/* kservice optimization */

22 23
#define RT_DEBUG
#define RT_DEBUG_COLOR
B
bernard 已提交
24 25 26

/* Inter-Thread communication */

M
Ming, Bai 已提交
27 28 29 30 31
#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
B
bernard 已提交
32 33

/* Memory Management */
34 35

#define RT_USING_MEMPOOL
M
Ming, Bai 已提交
36
#define RT_USING_SMALL_MEM
B
bernard 已提交
37
#define RT_USING_HEAP
M
Ming, Bai 已提交
38

B
bernard 已提交
39
/* Kernel Device Object */
M
Ming, Bai 已提交
40

B
bernard 已提交
41
#define RT_USING_DEVICE
M
Ming, Bai 已提交
42
#define RT_USING_CONSOLE
B
bernard 已提交
43 44
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "console"
45
#define RT_VER_NUM 0x40004
B
bernard 已提交
46 47 48

/* RT-Thread Components */

49 50 51 52
#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN
#define RT_MAIN_THREAD_STACK_SIZE 2048
#define RT_MAIN_THREAD_PRIORITY 10
B
bernard 已提交
53 54 55 56 57

/* C++ features */


/* Command shell */
58

M
Ming, Bai 已提交
59
#define RT_USING_FINSH
60 61
#define RT_USING_MSH
#define FINSH_USING_MSH
62
#define FINSH_THREAD_NAME "tshell"
63 64
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
B
bernard 已提交
65
#define FINSH_USING_HISTORY
66
#define FINSH_HISTORY_LINES 5
M
Ming, Bai 已提交
67
#define FINSH_USING_SYMTAB
B
bernard 已提交
68
#define FINSH_CMD_SIZE 80
69 70
#define MSH_USING_BUILT_IN_COMMANDS
#define FINSH_USING_DESCRIPTION
71
#define FINSH_ARG_MAX 10
B
bernard 已提交
72 73 74

/* Device virtual file system */

75 76
#define RT_USING_DFS
#define DFS_USING_WORKDIR
B
bernard 已提交
77
#define DFS_FILESYSTEMS_MAX 2
78
#define DFS_FILESYSTEM_TYPES_MAX 4
B
bernard 已提交
79
#define DFS_FD_MAX 4
M
Ming, Bai 已提交
80
#define RT_USING_DFS_ELMFAT
B
bernard 已提交
81 82 83 84 85 86 87

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

#define RT_DFS_ELM_CODE_PAGE 437
#define RT_DFS_ELM_WORD_ACCESS
#define RT_DFS_ELM_USE_LFN_0
#define RT_DFS_ELM_USE_LFN 0
88 89
#define RT_DFS_ELM_LFN_UNICODE_0
#define RT_DFS_ELM_LFN_UNICODE 0
B
bernard 已提交
90 91 92 93
#define RT_DFS_ELM_MAX_LFN 255
#define RT_DFS_ELM_DRIVES 2
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
#define RT_DFS_ELM_REENTRANT
94
#define RT_DFS_ELM_MUTEX_TIMEOUT 3000
B
bernard 已提交
95 96 97 98 99
#define RT_USING_DFS_DEVFS

/* Device Drivers */

#define RT_USING_DEVICE_IPC
100
#define RT_PIPE_BUFSZ 512
B
bernard 已提交
101
#define RT_USING_SERIAL
102
#define RT_USING_SERIAL_V1
103
#define RT_SERIAL_USING_DMA
104
#define RT_SERIAL_RB_BUFSZ 64
B
bernard 已提交
105 106 107 108 109 110

/* Using USB */


/* POSIX layer and C standard library */

111
#define RT_LIBC_USING_TIME
112
#define RT_LIBC_DEFAULT_TIMEZONE 8
B
bernard 已提交
113

114 115 116 117 118 119 120
/* Network */

/* Socket abstraction layer */


/* Network interface device */

B
bernard 已提交
121 122 123 124

/* light weight TCP/IP stack */


125
/* AT commands */
B
bernard 已提交
126 127 128 129 130 131 132 133


/* VBUS(Virtual Software BUS) */


/* Utilities */


134 135 136
/* RT-Thread Utestcases */


B
bernard 已提交
137 138 139 140
/* RT-Thread online packages */

/* IoT - internet of things */

141 142 143 144 145 146 147 148

/* Wi-Fi */

/* Marvell WiFi */


/* Wiced WiFi */

149 150 151

/* IoT Cloud */

B
bernard 已提交
152 153 154 155 156 157 158 159 160 161

/* security packages */


/* language packages */


/* multimedia packages */


162 163 164
/* U8G2: a monochrome graphic library */


B
bernard 已提交
165 166
/* tools packages */

167 168 169

/* system packages */

170 171
/* acceleration: Assembly language or algorithmic acceleration packages */

172

173 174 175
/* Micrium: Micrium software products porting for RT-Thread */


176 177
/* peripheral libraries and drivers */

B
bernard 已提交
178

179 180 181
/* AI packages */


B
bernard 已提交
182 183
/* miscellaneous packages */

184
/* samples: kernel and components samples */
B
bernard 已提交
185

186

187
/* entertainment: terminal games and other interesting software packages */
188

189
#define SOC_SIMULATOR
B
bernard 已提交
190 191
#define RT_USING_DFS_WINSHAREDIR
#include "rtconfig_project.h"
192

M
Ming, Bai 已提交
193
#endif