rtconfig.h 3.5 KB
Newer Older
Z
zohar123 已提交
1 2 3
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

4 5
/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Configuration */
Z
zohar123 已提交
6 7 8 9 10 11 12

/* RT-Thread Kernel */

#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
#define RT_THREAD_PRIORITY_32
#define RT_THREAD_PRIORITY_MAX 32
Y
yanmowudi 已提交
13
#define RT_TICK_PER_SECOND 1000
Z
zohar123 已提交
14 15
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
16
#define RT_HOOK_USING_FUNC_PTR
Z
zohar123 已提交
17
#define RT_USING_IDLE_HOOK
18
#define RT_IDLE_HOOK_LIST_SIZE 4
Z
zohar123 已提交
19
#define IDLE_THREAD_STACK_SIZE 256
Y
yanmowudi 已提交
20 21 22

/* kservice optimization */

Z
zohar123 已提交
23
#define RT_DEBUG
24
#define RT_DEBUG_COLOR
Z
zohar123 已提交
25 26 27 28 29 30 31 32 33 34 35 36 37

/* Inter-Thread communication */

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE

/* Memory Management */

#define RT_USING_MEMPOOL
#define RT_USING_MEMHEAP
38
#define RT_MEMHEAP_FAST_MODE
Y
yanmowudi 已提交
39
#define RT_USING_MEMHEAP_AS_HEAP
40
#define RT_USING_MEMHEAP_AUTO_BINDING
Z
zohar123 已提交
41 42 43 44 45 46 47 48
#define RT_USING_HEAP

/* Kernel Device Object */

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart0"
mysterywolf's avatar
mysterywolf 已提交
49
#define RT_VER_NUM 0x40100
Y
yanmowudi 已提交
50 51 52 53
#define ARCH_ARM
#define RT_USING_CPU_FFS
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_M4
Z
zohar123 已提交
54 55 56 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 */


/* Command shell */

#define RT_USING_FINSH
Y
yanmowudi 已提交
68 69
#define RT_USING_MSH
#define FINSH_USING_MSH
Z
zohar123 已提交
70
#define FINSH_THREAD_NAME "tshell"
Y
yanmowudi 已提交
71 72
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
Z
zohar123 已提交
73 74 75 76
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
#define FINSH_USING_SYMTAB
#define FINSH_CMD_SIZE 80
Y
yanmowudi 已提交
77 78
#define MSH_USING_BUILT_IN_COMMANDS
#define FINSH_USING_DESCRIPTION
Z
zohar123 已提交
79 80 81 82 83 84 85 86 87
#define FINSH_ARG_MAX 10

/* Device virtual file system */


/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_USING_SERIAL
Y
yanmowudi 已提交
88 89
#define RT_USING_SERIAL_V1
#define RT_SERIAL_RB_BUFSZ 64
Z
zohar123 已提交
90 91 92 93 94 95 96
#define RT_USING_PIN

/* Using USB */


/* POSIX layer and C standard library */

Y
yanmowudi 已提交
97
#define RT_LIBC_DEFAULT_TIMEZONE 8
mysterywolf's avatar
mysterywolf 已提交
98 99 100

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

101 102 103 104 105 106

/* Interprocess Communication (IPC) */


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

Z
zohar123 已提交
107 108 109 110 111
/* Network */

/* Socket abstraction layer */


Y
yanmowudi 已提交
112
/* Network interface device */
Z
zohar123 已提交
113 114


Y
yanmowudi 已提交
115
/* light weight TCP/IP stack */
Z
zohar123 已提交
116 117 118 119 120 121 122 123 124 125 126


/* AT commands */


/* VBUS(Virtual Software BUS) */


/* Utilities */


Y
yanmowudi 已提交
127 128 129
/* RT-Thread Utestcases */


Z
zohar123 已提交
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */


/* Wiced WiFi */


/* IoT Cloud */


/* security packages */


/* language packages */


/* multimedia packages */

mysterywolf's avatar
mysterywolf 已提交
154
/* LVGL: powerful and easy-to-use embedded GUI library */
Z
zohar123 已提交
155

156 157 158

/* u8g2: a monochrome graphic library */

mysterywolf's avatar
mysterywolf 已提交
159 160 161

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

162

Z
zohar123 已提交
163 164 165 166 167
/* tools packages */


/* system packages */

168 169
/* enhanced kernel services */

170 171 172

/* POSIX extension functions */

173

Y
yanmowudi 已提交
174
/* acceleration: Assembly language or algorithmic acceleration packages */
Z
zohar123 已提交
175 176


mysterywolf's avatar
mysterywolf 已提交
177 178 179
/* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */


Y
yanmowudi 已提交
180
/* Micrium: Micrium software products porting for RT-Thread */
Z
zohar123 已提交
181 182


Y
yanmowudi 已提交
183
/* peripheral libraries and drivers */
Z
zohar123 已提交
184 185


Y
yanmowudi 已提交
186
/* AI packages */
Z
zohar123 已提交
187 188


Y
yanmowudi 已提交
189
/* miscellaneous packages */
Z
zohar123 已提交
190

Y
yanmowudi 已提交
191
/* samples: kernel and components samples */
Z
zohar123 已提交
192 193


Y
yanmowudi 已提交
194
/* entertainment: terminal games and other interesting software packages */
195

Z
zohar123 已提交
196

Y
yanmowudi 已提交
197
/* Hardware Drivers Config */
Z
zohar123 已提交
198

Y
yanmowudi 已提交
199
#define SOC_SWM320
Z
zohar123 已提交
200

Y
yanmowudi 已提交
201
/* On-chip Peripheral Drivers */
Z
zohar123 已提交
202

Y
yanmowudi 已提交
203 204 205
#define BSP_USING_UART
#define BSP_USING_UART0
#define BSP_USING_GPIO
Z
zohar123 已提交
206 207 208 209 210 211 212 213

/* Onboard Peripheral Drivers */


/* Offboard Peripheral Drivers */


#endif