1 #ifndef RT_CONFIG_H__
2 #define RT_CONFIG_H__
3 
4 /* Automatically generated file; DO NOT EDIT. */
5 /* RT-Thread Configuration */
6 
7 /* RT-Thread Kernel */
8 
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 1000
14 #define RT_USING_OVERFLOW_CHECK
15 #define RT_USING_HOOK
16 #define RT_USING_IDLE_HOOK
17 #define RT_IDLE_HOOK_LIST_SIZE 4
18 #define IDLE_THREAD_STACK_SIZE 256
19 
20 /* kservice optimization */
21 
22 #define RT_DEBUG
23 #define RT_DEBUG_COLOR
24 
25 /* Inter-Thread communication */
26 
27 #define RT_USING_SEMAPHORE
28 #define RT_USING_MUTEX
29 #define RT_USING_EVENT
30 #define RT_USING_MAILBOX
31 #define RT_USING_MESSAGEQUEUE
32 
33 /* Memory Management */
34 
35 #define RT_USING_MEMPOOL
36 #define RT_USING_SMALL_MEM
37 #define RT_USING_HEAP
38 
39 /* Kernel Device Object */
40 
41 #define RT_USING_DEVICE
42 #define RT_USING_CONSOLE
43 #define RT_CONSOLEBUF_SIZE 128
44 #define RT_CONSOLE_DEVICE_NAME "uart2"
45 #define RT_VER_NUM 0x40004
46 #define ARCH_ARM
47 #define RT_USING_CPU_FFS
48 #define ARCH_ARM_CORTEX_M
49 #define ARCH_ARM_CORTEX_M4
50 
51 /* RT-Thread Components */
52 
53 #define RT_USING_COMPONENTS_INIT
54 #define RT_USING_USER_MAIN
55 #define RT_MAIN_THREAD_STACK_SIZE 2048
56 #define RT_MAIN_THREAD_PRIORITY 10
57 
58 /* C++ features */
59 
60 
61 /* Command shell */
62 
63 #define RT_USING_FINSH
64 #define FINSH_THREAD_NAME "tshell"
65 #define FINSH_USING_HISTORY
66 #define FINSH_HISTORY_LINES 5
67 #define FINSH_USING_SYMTAB
68 #define FINSH_USING_DESCRIPTION
69 #define FINSH_THREAD_PRIORITY 20
70 #define FINSH_THREAD_STACK_SIZE 4096
71 #define FINSH_CMD_SIZE 80
72 #define FINSH_USING_MSH
73 #define FINSH_USING_MSH_DEFAULT
74 #define FINSH_USING_MSH_ONLY
75 #define FINSH_ARG_MAX 10
76 
77 /* Device virtual file system */
78 
79 
80 /* Device Drivers */
81 
82 #define RT_USING_DEVICE_IPC
83 #define RT_PIPE_BUFSZ 512
84 #define RT_USING_SERIAL
85 #define RT_USING_SERIAL_V1
86 #define RT_SERIAL_USING_DMA
87 #define RT_SERIAL_RB_BUFSZ 64
88 #define RT_USING_HWTIMER
89 #define RT_USING_PIN
90 #define RT_USING_PWM
91 #define RT_USING_SPI
92 
93 /* Using USB */
94 
95 
96 /* POSIX layer and C standard library */
97 
98 #define RT_LIBC_USING_TIME
99 #define RT_LIBC_DEFAULT_TIMEZONE 8
100 
101 /* Network */
102 
103 /* Socket abstraction layer */
104 
105 
106 /* Network interface device */
107 
108 
109 /* light weight TCP/IP stack */
110 
111 
112 /* AT commands */
113 
114 
115 /* VBUS(Virtual Software BUS) */
116 
117 
118 /* Utilities */
119 
120 
121 /* RT-Thread Utestcases */
122 
123 
124 /* RT-Thread online packages */
125 
126 /* IoT - internet of things */
127 
128 
129 /* Wi-Fi */
130 
131 /* Marvell WiFi */
132 
133 
134 /* Wiced WiFi */
135 
136 
137 /* IoT Cloud */
138 
139 
140 /* security packages */
141 
142 
143 /* language packages */
144 
145 
146 /* multimedia packages */
147 
148 
149 /* tools packages */
150 
151 
152 /* system packages */
153 
154 /* acceleration: Assembly language or algorithmic acceleration packages */
155 
156 
157 /* Micrium: Micrium software products porting for RT-Thread */
158 
159 
160 /* peripheral libraries and drivers */
161 
162 
163 /* AI packages */
164 
165 
166 /* miscellaneous packages */
167 
168 
169 /* samples: kernel and components samples */
170 
171 
172 /* entertainment: terminal games and other interesting software packages */
173 
174 #define SOC_FAMILY_STM32
175 #define SOC_SERIES_STM32F3
176 
177 /* Hardware Drivers Config */
178 
179 #define SOC_STM32F302R8
180 
181 /* Onboard Peripheral Drivers */
182 
183 /* On-chip Peripheral Drivers */
184 
185 #define BSP_USING_GPIO
186 #define BSP_USING_UART
187 #define BSP_USING_UART2
188 
189 /* Board extended module Drivers */
190 
191 
192 #endif
193