|
1 | | -/* RT-Thread config file */ |
2 | | -#ifndef __RTTHREAD_CFG_H__ |
3 | | -#define __RTTHREAD_CFG_H__ |
| 1 | +#ifndef RT_CONFIG_H__ |
| 2 | +#define RT_CONFIG_H__ |
4 | 3 |
|
5 | | -/* RT_NAME_MAX*/ |
6 | | -#define RT_NAME_MAX 8 |
| 4 | +/* Automatically generated file; DO NOT EDIT. */ |
| 5 | +/* RT-Thread Project Configuration */ |
7 | 6 |
|
8 | | -/* RT_ALIGN_SIZE*/ |
9 | | -#define RT_ALIGN_SIZE 8 |
| 7 | +/* RT-Thread Kernel */ |
10 | 8 |
|
11 | | -/* PRIORITY_MAX */ |
12 | | -#define RT_THREAD_PRIORITY_MAX 32 |
| 9 | +#define RT_NAME_MAX 8 |
| 10 | +#define RT_ALIGN_SIZE 8 |
| 11 | +#define RT_THREAD_PRIORITY_32 |
| 12 | +#define RT_THREAD_PRIORITY_MAX 32 |
| 13 | +#define RT_TICK_PER_SECOND 100 |
| 14 | +#define RT_USING_OVERFLOW_CHECK |
| 15 | +#define RT_USING_HOOK |
| 16 | +#define RT_HOOK_USING_FUNC_PTR |
| 17 | +#define RT_USING_IDLE_HOOK |
| 18 | +#define RT_IDLE_HOOK_LIST_SIZE 4 |
| 19 | +#define IDLE_THREAD_STACK_SIZE 256 |
| 20 | +#define RT_USING_TIMER_SOFT |
| 21 | +#define RT_TIMER_THREAD_PRIO 4 |
| 22 | +#define RT_TIMER_THREAD_STACK_SIZE 512 |
13 | 23 |
|
14 | | -/* Tick per Second */ |
15 | | -#define RT_TICK_PER_SECOND 100 |
| 24 | +/* kservice optimization */ |
16 | 25 |
|
17 | | -/* SECTION: RT_DEBUG */ |
18 | | -/* Thread Debug */ |
19 | | -/* #define RT_DEBUG */ |
20 | | -#define RT_USING_OVERFLOW_CHECK |
| 26 | +#define RT_KSERVICE_USING_STDLIB |
| 27 | +#define RT_DEBUG |
21 | 28 |
|
22 | | -/* Using Hook */ |
23 | | -#define RT_USING_HOOK |
| 29 | +/* Inter-Thread communication */ |
24 | 30 |
|
25 | | -/* SECTION: IPC */ |
26 | | -/* Using Semaphore */ |
27 | 31 | #define RT_USING_SEMAPHORE |
28 | | - |
29 | | -/* Using Mutex */ |
30 | 32 | #define RT_USING_MUTEX |
31 | | - |
32 | | -/* Using Event */ |
33 | 33 | #define RT_USING_EVENT |
34 | | - |
35 | | -/* Using MailBox */ |
36 | 34 | #define RT_USING_MAILBOX |
37 | | - |
38 | | -/* Using Message Queue */ |
39 | 35 | #define RT_USING_MESSAGEQUEUE |
40 | 36 |
|
41 | | -/* SECTION: Memory Management */ |
42 | | -/* Using Memory Pool Management*/ |
43 | | -#define RT_USING_MEMPOOL |
| 37 | +/* Memory Management */ |
44 | 38 |
|
45 | | -/* Using Dynamic Heap Management */ |
| 39 | +#define RT_USING_MEMPOOL |
| 40 | +#define RT_USING_SMALL_MEM |
| 41 | +#define RT_USING_SMALL_MEM_AS_HEAP |
46 | 42 | #define RT_USING_HEAP |
47 | 43 |
|
48 | | -/* Using Small MM */ |
49 | | -#define RT_USING_SMALL_MEM |
| 44 | +/* Kernel Device Object */ |
50 | 45 |
|
51 | | -/* SECTION: Device System */ |
52 | | -/* Using Device System */ |
53 | 46 | #define RT_USING_DEVICE |
54 | | -/* RT_USING_UART */ |
55 | | -#define RT_USING_UART0 |
56 | | -#define RT_UART_RX_BUFFER_SIZE 64 |
57 | | - |
58 | | -/* SECTION: Console options */ |
59 | | -#define RT_TINY_SIZE |
60 | 47 | #define RT_USING_CONSOLE |
61 | | -/* the buffer size of console */ |
62 | | -#define RT_CONSOLEBUF_SIZE 128 |
63 | | - |
64 | | -/* SECTION: RTGUI support */ |
65 | | -/* using RTGUI support */ |
66 | | -/* #define RT_USING_RTGUI */ |
67 | | - |
68 | | -/* name length of RTGUI object */ |
69 | | -#define RTGUI_NAME_MAX 16 |
70 | | -/* support 16 weight font */ |
71 | | -//#define RTGUI_USING_FONT16 |
72 | | -/* support 12 weight font */ |
73 | | -#define RTGUI_USING_FONT12 |
74 | | -/* support Chinese font */ |
75 | | -//#define RTGUI_USING_FONTHZ |
76 | | -/* use DFS as file interface */ |
77 | | -//#define RTGUI_USING_DFS_FILERW |
78 | | -/* use font file as Chinese font */ |
79 | | -/* #define RTGUI_USING_HZ_FILE */ |
80 | | -/* use Chinese bitmap font */ |
81 | | -//#define RTGUI_USING_HZ_BMP |
82 | | -/* use small size in RTGUI */ |
83 | | -//#define RTGUI_USING_SMALL_SIZE |
84 | | -/* use mouse cursor */ |
85 | | -/* #define RTGUI_USING_MOUSE_CURSOR */ |
86 | | -#define RTGUI_DEFAULT_FONT_SIZE 12 |
| 48 | +#define RT_CONSOLEBUF_SIZE 128 |
| 49 | +#define RT_CONSOLE_DEVICE_NAME "uart" |
| 50 | +#define RT_VER_NUM 0x50001 |
| 51 | + |
| 52 | +/* RT-Thread Components */ |
| 53 | + |
| 54 | +#define RT_USING_MSH |
| 55 | +#define RT_USING_FINSH |
| 56 | +#define FINSH_USING_MSH |
| 57 | +#define FINSH_THREAD_NAME "tshell" |
| 58 | +#define FINSH_THREAD_PRIORITY 20 |
| 59 | +#define FINSH_THREAD_STACK_SIZE 4096 |
| 60 | +#define FINSH_USING_HISTORY |
| 61 | +#define FINSH_HISTORY_LINES 5 |
| 62 | +#define FINSH_USING_SYMTAB |
| 63 | +#define FINSH_CMD_SIZE 80 |
| 64 | +#define MSH_USING_BUILT_IN_COMMANDS |
| 65 | +#define FINSH_USING_DESCRIPTION |
| 66 | +#define FINSH_ARG_MAX 10 |
| 67 | + |
| 68 | +/* DFS: device virtual file system */ |
| 69 | + |
| 70 | +#define RT_USING_DFS |
| 71 | +#define DFS_USING_POSIX |
| 72 | +#define DFS_USING_WORKDIR |
| 73 | +#define DFS_FD_MAX 16 |
| 74 | +#define RT_USING_DFS_V1 |
| 75 | +#define DFS_FILESYSTEMS_MAX 4 |
| 76 | +#define DFS_FILESYSTEM_TYPES_MAX 4 |
| 77 | +#define RT_USING_DFS_DEVFS |
| 78 | + |
| 79 | +/* Device Drivers */ |
| 80 | + |
| 81 | +#define RT_USING_DEVICE_IPC |
| 82 | +#define RT_UNAMED_PIPE_NUMBER 64 |
| 83 | +#define RT_USING_SERIAL |
| 84 | +#define RT_USING_SERIAL_V1 |
| 85 | +#define RT_SERIAL_USING_DMA |
| 86 | +#define RT_SERIAL_RB_BUFSZ 64 |
| 87 | +#define RT_USING_PIN |
| 88 | + |
| 89 | +/* Using USB */ |
| 90 | + |
| 91 | + |
| 92 | +/* C/C++ and POSIX layer */ |
| 93 | + |
| 94 | +#define RT_LIBC_DEFAULT_TIMEZONE 8 |
| 95 | + |
| 96 | +/* POSIX (Portable Operating System Interface) layer */ |
| 97 | + |
| 98 | + |
| 99 | +/* Interprocess Communication (IPC) */ |
| 100 | + |
| 101 | + |
| 102 | +/* Socket is in the 'Network' category */ |
| 103 | + |
| 104 | + |
| 105 | +/* Network */ |
| 106 | + |
| 107 | + |
| 108 | +/* Utilities */ |
| 109 | + |
| 110 | + |
| 111 | +/* RT-Thread Utestcases */ |
| 112 | + |
| 113 | + |
| 114 | +/* RT-Thread online packages */ |
| 115 | + |
| 116 | +/* IoT - internet of things */ |
| 117 | + |
| 118 | + |
| 119 | +/* Wi-Fi */ |
| 120 | + |
| 121 | +/* Marvell WiFi */ |
| 122 | + |
| 123 | + |
| 124 | +/* Wiced WiFi */ |
| 125 | + |
| 126 | + |
| 127 | +/* IoT Cloud */ |
| 128 | + |
| 129 | + |
| 130 | +/* security packages */ |
| 131 | + |
| 132 | + |
| 133 | +/* language packages */ |
| 134 | + |
| 135 | +/* JSON: JavaScript Object Notation, a lightweight data-interchange format */ |
| 136 | + |
| 137 | + |
| 138 | +/* XML: Extensible Markup Language */ |
| 139 | + |
| 140 | + |
| 141 | +/* multimedia packages */ |
| 142 | + |
| 143 | +/* LVGL: powerful and easy-to-use embedded GUI library */ |
| 144 | + |
| 145 | + |
| 146 | +/* u8g2: a monochrome graphic library */ |
| 147 | + |
| 148 | + |
| 149 | +/* tools packages */ |
| 150 | + |
| 151 | + |
| 152 | +/* system packages */ |
| 153 | + |
| 154 | +/* enhanced kernel services */ |
| 155 | + |
| 156 | + |
| 157 | +/* acceleration: Assembly language or algorithmic acceleration packages */ |
| 158 | + |
| 159 | + |
| 160 | +/* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ |
| 161 | + |
| 162 | + |
| 163 | +/* Micrium: Micrium software products porting for RT-Thread */ |
| 164 | + |
| 165 | + |
| 166 | +/* peripheral libraries and drivers */ |
| 167 | + |
| 168 | +/* sensors drivers */ |
| 169 | + |
| 170 | + |
| 171 | +/* touch drivers */ |
| 172 | + |
| 173 | + |
| 174 | +/* Kendryte SDK */ |
| 175 | + |
| 176 | + |
| 177 | +/* AI packages */ |
| 178 | + |
| 179 | + |
| 180 | +/* Signal Processing and Control Algorithm Packages */ |
| 181 | + |
| 182 | + |
| 183 | +/* miscellaneous packages */ |
| 184 | + |
| 185 | +/* project laboratory */ |
| 186 | + |
| 187 | +/* samples: kernel and components samples */ |
| 188 | + |
| 189 | + |
| 190 | +/* entertainment: terminal games and other interesting software packages */ |
| 191 | + |
| 192 | + |
| 193 | +/* Arduino libraries */ |
| 194 | + |
| 195 | + |
| 196 | +/* Projects */ |
| 197 | + |
| 198 | + |
| 199 | +/* Sensors */ |
| 200 | + |
| 201 | + |
| 202 | +/* Display */ |
| 203 | + |
| 204 | + |
| 205 | +/* Timing */ |
| 206 | + |
| 207 | + |
| 208 | +/* Data Processing */ |
| 209 | + |
| 210 | + |
| 211 | +/* Data Storage */ |
| 212 | + |
| 213 | +/* Communication */ |
| 214 | + |
| 215 | + |
| 216 | +/* Device Control */ |
| 217 | + |
| 218 | + |
| 219 | +/* Other */ |
| 220 | + |
| 221 | + |
| 222 | +/* Signal IO */ |
| 223 | + |
| 224 | + |
| 225 | +/* Uncategorized */ |
| 226 | + |
87 | 227 |
|
88 | 228 | #endif |
0 commit comments