Skip to content

Commit 88a7463

Browse files
xiangxistuBernardXiong
authored andcommitted
[restore] restore to basic function.
1 parent 40785ea commit 88a7463

File tree

1 file changed

+52
-29
lines changed

1 file changed

+52
-29
lines changed

bsp/stm32/stm32f407-atk-explorer/rtconfig.h

Lines changed: 52 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#ifndef RT_CONFIG_H__
22
#define RT_CONFIG_H__
33

4-
/* Automatically generated file; DO NOT EDIT. */
5-
/* RT-Thread Configuration */
4+
/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
65

76
/* RT-Thread Kernel */
87

@@ -19,6 +18,7 @@
1918

2019
/* kservice optimization */
2120

21+
/* end of kservice optimization */
2222
#define RT_DEBUG
2323
#define RT_DEBUG_COLOR
2424

@@ -29,21 +29,25 @@
2929
#define RT_USING_EVENT
3030
#define RT_USING_MAILBOX
3131
#define RT_USING_MESSAGEQUEUE
32+
/* end of Inter-Thread communication */
3233

3334
/* Memory Management */
3435

3536
#define RT_USING_MEMPOOL
3637
#define RT_USING_SMALL_MEM
3738
#define RT_USING_SMALL_MEM_AS_HEAP
3839
#define RT_USING_HEAP
40+
/* end of Memory Management */
3941

4042
/* Kernel Device Object */
4143

4244
#define RT_USING_DEVICE
4345
#define RT_USING_CONSOLE
4446
#define RT_CONSOLEBUF_SIZE 128
4547
#define RT_CONSOLE_DEVICE_NAME "uart1"
48+
/* end of Kernel Device Object */
4649
#define RT_VER_NUM 0x40100
50+
/* end of RT-Thread Kernel */
4751
#define ARCH_ARM
4852
#define RT_USING_CPU_FFS
4953
#define ARCH_ARM_CORTEX_M
@@ -58,6 +62,7 @@
5862

5963
/* C++ features */
6064

65+
/* end of C++ features */
6166

6267
/* Command shell */
6368

@@ -74,26 +79,25 @@
7479
#define MSH_USING_BUILT_IN_COMMANDS
7580
#define FINSH_USING_DESCRIPTION
7681
#define FINSH_ARG_MAX 10
82+
/* end of Command shell */
7783

7884
/* Device virtual file system */
7985

86+
/* end of Device virtual file system */
8087

8188
/* Device Drivers */
8289

8390
#define RT_USING_DEVICE_IPC
84-
#define RT_USING_SYSTEM_WORKQUEUE
85-
#define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
86-
#define RT_SYSTEM_WORKQUEUE_PRIORITY 23
8791
#define RT_USING_SERIAL
8892
#define RT_USING_SERIAL_V1
8993
#define RT_SERIAL_USING_DMA
9094
#define RT_SERIAL_RB_BUFSZ 64
91-
#define RT_USING_I2C
92-
#define RT_USING_I2C_BITOPS
9395
#define RT_USING_PIN
9496

9597
/* Using USB */
9698

99+
/* end of Using USB */
100+
/* end of Device Drivers */
97101

98102
/* POSIX layer and C standard library */
99103

@@ -108,28 +112,41 @@
108112

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

115+
/* end of Interprocess Communication (IPC) */
116+
/* end of POSIX (Portable Operating System Interface) layer */
117+
/* end of POSIX layer and C standard library */
118+
111119
/* Network */
112120

113121
/* Socket abstraction layer */
114122

123+
/* end of Socket abstraction layer */
115124

116125
/* Network interface device */
117126

127+
/* end of Network interface device */
118128

119129
/* light weight TCP/IP stack */
120130

131+
/* end of light weight TCP/IP stack */
121132

122133
/* AT commands */
123134

135+
/* end of AT commands */
136+
/* end of Network */
124137

125138
/* VBUS(Virtual Software BUS) */
126139

140+
/* end of VBUS(Virtual Software BUS) */
127141

128142
/* Utilities */
129143

144+
/* end of Utilities */
145+
/* end of RT-Thread Components */
130146

131147
/* RT-Thread Utestcases */
132148

149+
/* end of RT-Thread Utestcases */
133150

134151
/* RT-Thread online packages */
135152

@@ -140,72 +157,83 @@
140157

141158
/* Marvell WiFi */
142159

160+
/* end of Marvell WiFi */
143161

144162
/* Wiced WiFi */
145163

164+
/* end of Wiced WiFi */
165+
/* end of Wi-Fi */
146166

147167
/* IoT Cloud */
148168

169+
/* end of IoT Cloud */
170+
/* end of IoT - internet of things */
149171

150172
/* security packages */
151173

174+
/* end of security packages */
152175

153176
/* language packages */
154177

178+
/* end of language packages */
155179

156180
/* multimedia packages */
157181

158182
/* LVGL: powerful and easy-to-use embedded GUI library */
159183

160-
#define PKG_USING_LVGL
161-
#define PKG_USING_LVGL_V810
162-
#define PKG_LVGL_VER_NUM 0x08010
163-
#define PKG_USING_LV_MUSIC_DEMO
164-
#define PKG_USING_LV_MUSIC_DEMO_LATEST_VERSION
184+
/* end of LVGL: powerful and easy-to-use embedded GUI library */
165185

166186
/* u8g2: a monochrome graphic library */
167187

188+
/* end of u8g2: a monochrome graphic library */
168189

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

192+
/* end of PainterEngine: A cross-platform graphics application framework written in C language */
193+
/* end of multimedia packages */
171194

172195
/* tools packages */
173196

197+
/* end of tools packages */
174198

175199
/* system packages */
176200

177-
178201
/* enhanced kernel services */
179202

203+
/* end of enhanced kernel services */
180204

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

207+
/* end of acceleration: Assembly language or algorithmic acceleration packages */
183208

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

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

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

215+
/* end of Micrium: Micrium software products porting for RT-Thread */
216+
/* end of system packages */
189217

190218
/* peripheral libraries and drivers */
191219

220+
/* end of peripheral libraries and drivers */
192221

193222
/* AI packages */
194223

224+
/* end of AI packages */
195225

196226
/* miscellaneous packages */
197227

198228
/* samples: kernel and components samples */
199229

230+
/* end of samples: kernel and components samples */
200231

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

203-
204-
/* Privated Packages of RealThread */
205-
206-
207-
/* Network Utilities */
208-
234+
/* end of entertainment: terminal games and other interesting software packages */
235+
/* end of miscellaneous packages */
236+
/* end of RT-Thread online packages */
209237
#define SOC_FAMILY_STM32
210238
#define SOC_SERIES_STM32F4
211239

@@ -216,27 +244,22 @@
216244
/* Onboard Peripheral Drivers */
217245

218246
#define BSP_USING_USB_TO_USART
219-
#define BSP_USING_SRAM
220-
#define BSP_USING_MCU_LCD
221-
#define BSP_USING_MCU_LCD_TEST
222-
#define BSP_USING_TOUCH
223-
#define BSP_TOUCH_INT_PIN 17
224247

225248
/* Enable File System */
226249

250+
/* end of Enable File System */
251+
/* end of Onboard Peripheral Drivers */
227252

228253
/* On-chip Peripheral Drivers */
229254

230255
#define BSP_USING_GPIO
231256
#define BSP_USING_UART
232257
#define BSP_USING_UART1
233-
#define BSP_USING_I2C2
234-
#define BSP_I2C2_SCL_PIN 16
235-
#define BSP_I2C2_SDA_PIN 91
236-
#define BSP_USING_EXT_FMC_IO
237-
#define BSP_USING_FMC
258+
/* end of On-chip Peripheral Drivers */
238259

239260
/* Board extended module Drivers */
240261

262+
/* end of Board extended module Drivers */
263+
/* end of Hardware Drivers Config */
241264

242265
#endif

0 commit comments

Comments
 (0)