rtconfig.h 5.4 KB
Newer Older
1 2 3
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

4
/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
5 6 7 8 9 10 11 12 13 14

/* RT-Thread Kernel */

#define RT_NAME_MAX 16
#define RT_ALIGN_SIZE 4
#define RT_THREAD_PRIORITY_32
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 1000
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
15
#define RT_USING_IDLE_HOOK
16
#define RT_IDLE_HOOK_LIST_SIZE 4
17
#define IDLE_THREAD_STACK_SIZE 256
18 19 20 21 22 23 24
#define RT_USING_TIMER_SOFT
#define RT_TIMER_THREAD_PRIO 4
#define RT_TIMER_THREAD_STACK_SIZE 512

/* kservice optimization */

/* end of kservice optimization */
25
#define RT_DEBUG
26
#define RT_DEBUG_COLOR
27 28 29 30 31 32 33 34

/* Inter-Thread communication */

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
35
/* end of Inter-Thread communication */
36 37 38 39 40

/* Memory Management */

#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
41
#define RT_USING_SMALL_MEM_AS_HEAP
42
#define RT_USING_HEAP
43
/* end of Memory Management */
44 45 46 47 48 49 50 51

/* Kernel Device Object */

#define RT_USING_DEVICE
#define RT_USING_INTERRUPT_INFO
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "dbgu"
52 53 54 55 56
/* end of Kernel Device Object */
#define RT_VER_NUM 0x40100
/* end of RT-Thread Kernel */
#define ARCH_ARM
#define ARCH_ARM_ARM9
57 58 59 60 61 62 63 64 65 66 67

/* RT-Thread Components */

#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN
#define RT_MAIN_THREAD_STACK_SIZE 2048
#define RT_MAIN_THREAD_PRIORITY 10

/* C++ features */

#define RT_USING_CPLUSPLUS
68
/* end of C++ features */
69 70 71 72

/* Command shell */

#define RT_USING_FINSH
73 74
#define RT_USING_MSH
#define FINSH_USING_MSH
75
#define FINSH_THREAD_NAME "tshell"
76 77
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
78 79 80 81
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
#define FINSH_USING_SYMTAB
#define FINSH_CMD_SIZE 80
82 83
#define MSH_USING_BUILT_IN_COMMANDS
#define FINSH_USING_DESCRIPTION
84
#define FINSH_ARG_MAX 10
85
/* end of Command shell */
86 87 88 89

/* Device virtual file system */

#define RT_USING_DFS
90
#define DFS_USING_POSIX
91 92 93 94 95
#define DFS_USING_WORKDIR
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FILESYSTEM_TYPES_MAX 2
#define DFS_FD_MAX 16
#define RT_USING_DFS_DEVFS
96
/* end of Device virtual file system */
97 98 99 100 101

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_USING_SERIAL
102 103 104
#define RT_USING_SERIAL_V1
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
105 106 107 108
#define RT_USING_PIN

/* Using USB */

109 110
/* end of Using USB */
/* end of Device Drivers */
111 112 113 114

/* POSIX layer and C standard library */

#define RT_USING_LIBC
115 116 117 118 119
#define RT_LIBC_USING_TIME
#define RT_LIBC_DEFAULT_TIMEZONE 8

/* POSIX (Portable Operating System Interface) layer */

120
#define RT_USING_PTHREADS
121 122 123 124 125 126 127 128 129 130
#define PTHREAD_NUM_MAX 8

/* Interprocess Communication (IPC) */


/* Socket is in the 'Network' category */

/* end of Interprocess Communication (IPC) */
/* end of POSIX (Portable Operating System Interface) layer */
/* end of POSIX layer and C standard library */
131 132 133 134 135

/* Network */

/* Socket abstraction layer */

136
/* end of Socket abstraction layer */
137

138
/* Network interface device */
139

140
/* end of Network interface device */
141

142
/* light weight TCP/IP stack */
143

144
/* end of light weight TCP/IP stack */
145 146 147

/* AT commands */

148 149
/* end of AT commands */
/* end of Network */
150 151 152

/* VBUS(Virtual Software BUS) */

153
/* end of VBUS(Virtual Software BUS) */
154 155 156

/* Utilities */

157 158 159 160 161 162
/* end of Utilities */
/* end of RT-Thread Components */

/* RT-Thread Utestcases */

/* end of RT-Thread Utestcases */
163 164 165 166 167 168 169 170 171 172

/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */

173
/* end of Marvell WiFi */
174 175 176

/* Wiced WiFi */

177 178
/* end of Wiced WiFi */
/* end of Wi-Fi */
179 180 181

/* IoT Cloud */

182 183
/* end of IoT Cloud */
/* end of IoT - internet of things */
184 185 186

/* security packages */

187
/* end of security packages */
188 189 190

/* language packages */

191
/* end of language packages */
192 193 194

/* multimedia packages */

195 196 197 198 199 200 201 202 203 204 205 206
/* 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 */

/* PainterEngine: A cross-platform graphics application framework written in C language */

/* end of PainterEngine: A cross-platform graphics application framework written in C language */
/* end of multimedia packages */
207 208 209

/* tools packages */

210
/* end of tools packages */
211 212 213

/* system packages */

214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
/* enhanced kernel services */

/* end of enhanced kernel services */

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

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

/* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */

/* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */

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

/* end of Micrium: Micrium software products porting for RT-Thread */
/* end of system packages */
230 231 232

/* peripheral libraries and drivers */

233
/* end of peripheral libraries and drivers */
234

235
/* AI packages */
236

237
/* end of AI packages */
238

239
/* miscellaneous packages */
240 241 242

/* samples: kernel and components samples */

243 244 245 246 247 248 249 250
/* end of samples: kernel and components samples */

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

/* end of entertainment: terminal games and other interesting software packages */
/* end of miscellaneous packages */
/* end of RT-Thread online packages */
#define SOC_AT91SAM9G45
251

252
/* Hardware Drivers Config */
253 254

#define RT_USING_LED
255
/* end of Hardware Drivers Config */
256 257

#endif