rtconfig.h 3.1 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
#define RT_DEBUG
#define RT_DEBUG_COLOR
B
bernard 已提交
21 22 23

/* Inter-Thread communication */

M
Ming, Bai 已提交
24 25 26 27 28
#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
B
bernard 已提交
29 30

/* Memory Management */
31 32

#define RT_USING_MEMPOOL
M
Ming, Bai 已提交
33
#define RT_USING_SMALL_MEM
B
bernard 已提交
34
#define RT_USING_HEAP
M
Ming, Bai 已提交
35

B
bernard 已提交
36
/* Kernel Device Object */
M
Ming, Bai 已提交
37

B
bernard 已提交
38
#define RT_USING_DEVICE
M
Ming, Bai 已提交
39
#define RT_USING_CONSOLE
B
bernard 已提交
40 41
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "console"
42
#define RT_VER_NUM 0x40003
B
bernard 已提交
43 44 45

/* RT-Thread Components */

46 47 48 49
#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 已提交
50 51 52 53 54

/* C++ features */


/* Command shell */
55

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

/* Device virtual file system */

71 72
#define RT_USING_DFS
#define DFS_USING_WORKDIR
B
bernard 已提交
73
#define DFS_FILESYSTEMS_MAX 2
74
#define DFS_FILESYSTEM_TYPES_MAX 4
B
bernard 已提交
75
#define DFS_FD_MAX 4
M
Ming, Bai 已提交
76
#define RT_USING_DFS_ELMFAT
B
bernard 已提交
77 78 79 80 81 82 83

/* 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
84 85
#define RT_DFS_ELM_LFN_UNICODE_0
#define RT_DFS_ELM_LFN_UNICODE 0
B
bernard 已提交
86 87 88 89 90 91 92 93 94
#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
#define RT_USING_DFS_DEVFS

/* Device Drivers */

#define RT_USING_DEVICE_IPC
95
#define RT_PIPE_BUFSZ 512
B
bernard 已提交
96
#define RT_USING_SERIAL
97
#define RT_SERIAL_USING_DMA
98
#define RT_SERIAL_RB_BUFSZ 64
B
bernard 已提交
99 100 101 102 103 104

/* Using USB */


/* POSIX layer and C standard library */

105
#define RT_LIBC_USING_TIME
B
bernard 已提交
106

107 108 109 110 111 112 113
/* Network */

/* Socket abstraction layer */


/* Network interface device */

B
bernard 已提交
114 115 116 117

/* light weight TCP/IP stack */


118
/* AT commands */
B
bernard 已提交
119 120 121 122 123 124 125 126 127 128 129 130


/* VBUS(Virtual Software BUS) */


/* Utilities */


/* RT-Thread online packages */

/* IoT - internet of things */

131 132 133 134 135 136 137 138

/* Wi-Fi */

/* Marvell WiFi */


/* Wiced WiFi */

139 140 141

/* IoT Cloud */

B
bernard 已提交
142 143 144 145 146 147 148 149 150 151 152 153

/* security packages */


/* language packages */


/* multimedia packages */


/* tools packages */

154 155 156 157

/* system packages */


158 159 160
/* Micrium: Micrium software products porting for RT-Thread */


161 162
/* peripheral libraries and drivers */

B
bernard 已提交
163

164 165 166
/* AI packages */


B
bernard 已提交
167 168 169
/* miscellaneous packages */


170
/* samples: kernel and components samples */
B
bernard 已提交
171

172

173
/* entertainment: terminal games and other interesting software packages */
174

175
#define SOC_SIMULATOR
B
bernard 已提交
176 177
#define RT_USING_DFS_WINSHAREDIR
#include "rtconfig_project.h"
178

M
Ming, Bai 已提交
179
#endif