rtconfig.h 4.5 KB
Newer Older
S
StackRyan 已提交
1 2 3
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

4
/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
S
StackRyan 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

/* 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
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
#define RT_USING_IDLE_HOOK
#define RT_IDLE_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256

/* kservice optimization */

21
/* end of kservice optimization */
S
StackRyan 已提交
22 23 24 25 26 27 28 29 30 31
#define RT_DEBUG
#define RT_DEBUG_COLOR

/* Inter-Thread communication */

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
32
/* end of Inter-Thread communication */
S
StackRyan 已提交
33 34 35 36 37 38 39

/* Memory Management */

#define RT_USING_MEMPOOL
#define RT_USING_MEMHEAP
#define RT_USING_SMALL_MEM
#define RT_USING_HEAP
40
/* end of Memory Management */
S
StackRyan 已提交
41 42 43 44 45 46 47

/* Kernel Device Object */

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart1"
48
/* end of Kernel Device Object */
S
StackRyan 已提交
49
#define RT_VER_NUM 0x40004
50
/* end of RT-Thread Kernel */
S
StackRyan 已提交
51 52 53 54 55 56 57 58 59 60

/* RT-Thread Components */

#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN
#define RT_MAIN_THREAD_STACK_SIZE 1024
#define RT_MAIN_THREAD_PRIORITY 10

/* C++ features */

61
/* end of C++ features */
S
StackRyan 已提交
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77

/* Command shell */

#define RT_USING_FINSH
#define RT_USING_MSH
#define FINSH_USING_MSH
#define FINSH_THREAD_NAME "tshell"
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 1024
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
#define FINSH_USING_SYMTAB
#define FINSH_CMD_SIZE 80
#define MSH_USING_BUILT_IN_COMMANDS
#define FINSH_USING_DESCRIPTION
#define FINSH_ARG_MAX 10
78
/* end of Command shell */
S
StackRyan 已提交
79 80 81

/* Device virtual file system */

82
/* end of Device virtual file system */
S
StackRyan 已提交
83 84 85 86 87 88 89 90 91 92 93 94

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_PIPE_BUFSZ 512
#define RT_USING_SERIAL
#define RT_USING_SERIAL_V1
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_PIN

/* Using USB */

95 96
/* end of Using USB */
/* end of Device Drivers */
S
StackRyan 已提交
97 98 99 100 101

/* POSIX layer and C standard library */

#define RT_LIBC_USING_TIME
#define RT_LIBC_DEFAULT_TIMEZONE 8
102
/* end of POSIX layer and C standard library */
S
StackRyan 已提交
103 104 105 106 107

/* Network */

/* Socket abstraction layer */

108
/* end of Socket abstraction layer */
S
StackRyan 已提交
109 110 111

/* Network interface device */

112
/* end of Network interface device */
S
StackRyan 已提交
113 114 115

/* light weight TCP/IP stack */

116
/* end of light weight TCP/IP stack */
S
StackRyan 已提交
117 118 119

/* AT commands */

120 121
/* end of AT commands */
/* end of Network */
S
StackRyan 已提交
122 123 124

/* VBUS(Virtual Software BUS) */

125
/* end of VBUS(Virtual Software BUS) */
S
StackRyan 已提交
126 127 128

/* Utilities */

129 130
/* end of Utilities */
/* end of RT-Thread Components */
S
StackRyan 已提交
131 132 133

/* RT-Thread Utestcases */

134
/* end of RT-Thread Utestcases */
S
StackRyan 已提交
135 136 137 138 139 140 141 142 143 144

/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */

145
/* end of Marvell WiFi */
S
StackRyan 已提交
146 147 148

/* Wiced WiFi */

149 150
/* end of Wiced WiFi */
/* end of Wi-Fi */
S
StackRyan 已提交
151 152 153

/* IoT Cloud */

154 155
/* end of IoT Cloud */
/* end of IoT - internet of things */
S
StackRyan 已提交
156 157 158

/* security packages */

159
/* end of security packages */
S
StackRyan 已提交
160 161 162

/* language packages */

163
/* end of language packages */
S
StackRyan 已提交
164 165 166 167

/* multimedia packages */


168 169 170 171 172 173 174 175 176
/* lvgl: powerful and easy-to-use embedded GUI library */

/* end of lvgl: powerful and easy-to-use embedded GUI library */

/* u8g2: a monochrome graphic library */

/* end of u8g2: a monochrome graphic library */
/* end of multimedia packages */

S
StackRyan 已提交
177 178
/* tools packages */

179
/* end of tools packages */
S
StackRyan 已提交
180 181 182 183 184

/* system packages */

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

185
/* end of acceleration: Assembly language or algorithmic acceleration packages */
S
StackRyan 已提交
186 187 188

/* Micrium: Micrium software products porting for RT-Thread */

189 190
/* end of Micrium: Micrium software products porting for RT-Thread */
/* end of system packages */
S
StackRyan 已提交
191 192 193

/* peripheral libraries and drivers */

194
/* end of peripheral libraries and drivers */
S
StackRyan 已提交
195 196 197

/* AI packages */

198
/* end of AI packages */
S
StackRyan 已提交
199 200 201 202 203

/* miscellaneous packages */

/* samples: kernel and components samples */

204
/* end of samples: kernel and components samples */
S
StackRyan 已提交
205 206 207

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

208 209 210
/* end of entertainment: terminal games and other interesting software packages */
/* end of miscellaneous packages */
/* end of RT-Thread online packages */
S
StackRyan 已提交
211 212 213 214 215 216 217 218

/* Hardware Drivers Config */

/* On-chip Peripheral Drivers */

/* GPIO Drivers */

#define BSP_USING_GPIO
219
/* end of GPIO Drivers */
S
StackRyan 已提交
220 221 222 223

/* UART Drivers */

#define BSP_USING_UART1
224 225 226
/* end of UART Drivers */
/* end of On-chip Peripheral Drivers */
/* end of Hardware Drivers Config */
S
StackRyan 已提交
227 228 229
#define SOC_MM32L373

#endif