|
15 | 15 | #define RT_USING_HOOK |
16 | 16 | #define RT_USING_IDLE_HOOK |
17 | 17 | #define RT_IDLE_HOOK_LIST_SIZE 4 |
18 | | -#define IDLE_THREAD_STACK_SIZE 1024 |
| 18 | +#define IDLE_THREAD_STACK_SIZE 256 |
| 19 | +#define RT_USING_TIMER_SOFT |
| 20 | +#define RT_TIMER_THREAD_PRIO 4 |
| 21 | +#define RT_TIMER_THREAD_STACK_SIZE 512 |
| 22 | + |
| 23 | +/* kservice optimization */ |
| 24 | + |
19 | 25 | #define RT_DEBUG |
20 | 26 |
|
21 | 27 | /* Inter-Thread communication */ |
|
38 | 44 | #define RT_USING_CONSOLE |
39 | 45 | #define RT_CONSOLEBUF_SIZE 128 |
40 | 46 | #define RT_CONSOLE_DEVICE_NAME "uart5" |
41 | | -#define RT_VER_NUM 0x40003 |
| 47 | +#define RT_VER_NUM 0x40004 |
42 | 48 |
|
43 | 49 | /* RT-Thread Components */ |
44 | 50 |
|
|
53 | 59 | /* Command shell */ |
54 | 60 |
|
55 | 61 | #define RT_USING_FINSH |
| 62 | +#define RT_USING_MSH |
| 63 | +#define FINSH_USING_MSH |
56 | 64 | #define FINSH_THREAD_NAME "tshell" |
| 65 | +#define FINSH_THREAD_PRIORITY 20 |
| 66 | +#define FINSH_THREAD_STACK_SIZE 4096 |
57 | 67 | #define FINSH_USING_HISTORY |
58 | 68 | #define FINSH_HISTORY_LINES 5 |
59 | 69 | #define FINSH_USING_SYMTAB |
60 | | -#define FINSH_USING_DESCRIPTION |
61 | | -#define FINSH_THREAD_PRIORITY 20 |
62 | | -#define FINSH_THREAD_STACK_SIZE 4096 |
63 | 70 | #define FINSH_CMD_SIZE 80 |
64 | | -#define FINSH_USING_MSH |
65 | | -#define FINSH_USING_MSH_DEFAULT |
| 71 | +#define MSH_USING_BUILT_IN_COMMANDS |
| 72 | +#define FINSH_USING_DESCRIPTION |
66 | 73 | #define FINSH_ARG_MAX 10 |
67 | 74 |
|
68 | 75 | /* Device virtual file system */ |
69 | 76 |
|
70 | 77 | #define RT_USING_DFS |
71 | 78 | #define DFS_USING_WORKDIR |
72 | | -#define DFS_FILESYSTEMS_MAX 2 |
73 | | -#define DFS_FILESYSTEM_TYPES_MAX 2 |
| 79 | +#define DFS_FILESYSTEMS_MAX 4 |
| 80 | +#define DFS_FILESYSTEM_TYPES_MAX 4 |
74 | 81 | #define DFS_FD_MAX 16 |
75 | 82 | #define RT_USING_DFS_DEVFS |
76 | 83 |
|
|
79 | 86 | #define RT_USING_DEVICE_IPC |
80 | 87 | #define RT_PIPE_BUFSZ 512 |
81 | 88 | #define RT_USING_SERIAL |
| 89 | +#define RT_USING_SERIAL_V1 |
82 | 90 | #define RT_SERIAL_USING_DMA |
83 | 91 | #define RT_SERIAL_RB_BUFSZ 64 |
84 | 92 | #define RT_USING_PIN |
|
90 | 98 |
|
91 | 99 | #define RT_USING_LIBC |
92 | 100 | #define RT_USING_POSIX |
| 101 | +#define RT_LIBC_DEFAULT_TIMEZONE 8 |
93 | 102 |
|
94 | 103 | /* Network */ |
95 | 104 |
|
|
111 | 120 | /* Utilities */ |
112 | 121 |
|
113 | 122 |
|
| 123 | +/* RT-Thread Utestcases */ |
| 124 | + |
| 125 | + |
114 | 126 | /* RT-Thread online packages */ |
115 | 127 |
|
116 | 128 | /* IoT - internet of things */ |
|
141 | 153 |
|
142 | 154 | /* system packages */ |
143 | 155 |
|
| 156 | +/* acceleration: Assembly language or algorithmic acceleration packages */ |
| 157 | + |
| 158 | + |
| 159 | +/* Micrium: Micrium software products porting for RT-Thread */ |
| 160 | + |
144 | 161 |
|
145 | 162 | /* peripheral libraries and drivers */ |
146 | 163 |
|
147 | 164 |
|
148 | | -/* miscellaneous packages */ |
| 165 | +/* AI packages */ |
| 166 | + |
149 | 167 |
|
| 168 | +/* miscellaneous packages */ |
150 | 169 |
|
151 | 170 | /* samples: kernel and components samples */ |
152 | 171 |
|
| 172 | + |
| 173 | +/* entertainment: terminal games and other interesting software packages */ |
| 174 | + |
| 175 | +#define SOC_LS |
153 | 176 | #define SOC_LS1B |
154 | 177 | #define RT_MEM_SIZE 256 |
155 | 178 | #define RT_OSC_CLK 25000000 |
|
0 commit comments