rtconfig.h 5.4 KB
Newer Older
1 2 3
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

4
/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
5 6 7 8 9 10 11 12 13 14 15

/* RT-Thread Kernel */

#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
#define RT_THREAD_PRIORITY_32
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 1000
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
#define RT_USING_IDLE_HOOK
16
#define RT_IDLE_HOOK_LIST_SIZE 4
17
#define IDLE_THREAD_STACK_SIZE 1024
18 19 20

/* kservice optimization */

21
/* end of kservice optimization */
22
#define RT_DEBUG
23
#define RT_DEBUG_COLOR
24 25 26 27 28 29 30 31

/* Inter-Thread communication */

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
32
/* end of Inter-Thread communication */
33 34 35 36 37

/* Memory Management */

#define RT_USING_MEMPOOL
#define RT_USING_MEMHEAP
38
#define RT_MEMHEAP_FAST_MODE
39
#define RT_USING_MEMHEAP_AS_HEAP
40
#define RT_USING_MEMHEAP_AUTO_BINDING
41
#define RT_USING_HEAP
42
/* end of Memory Management */
43 44 45 46 47 48 49

/* Kernel Device Object */

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart1"
50
/* end of Kernel Device Object */
mysterywolf's avatar
mysterywolf 已提交
51
#define RT_VER_NUM 0x40100
52
/* end of RT-Thread Kernel */
53
#define ARCH_ARM
54
#define RT_USING_CPU_FFS
55 56 57 58 59 60 61 62 63 64 65 66
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_M7

/* 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 */

67
/* end of C++ features */
68 69 70 71

/* Command shell */

#define RT_USING_FINSH
72 73
#define RT_USING_MSH
#define FINSH_USING_MSH
74
#define FINSH_THREAD_NAME "tshell"
75 76
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
77 78 79 80
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
#define FINSH_USING_SYMTAB
#define FINSH_CMD_SIZE 80
81 82
#define MSH_USING_BUILT_IN_COMMANDS
#define FINSH_USING_DESCRIPTION
83
#define FINSH_ARG_MAX 10
84
/* end of Command shell */
85 86 87

/* Device virtual file system */

88
/* end of Device virtual file system */
89 90 91 92 93

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_USING_SERIAL
94
#define RT_USING_SERIAL_V1
95
#define RT_SERIAL_RB_BUFSZ 64
96
#define RT_USING_PIN
97
#define RT_USING_SPI
98 99 100

/* Using USB */

101 102
/* end of Using USB */
/* end of Device Drivers */
103 104 105

/* POSIX layer and C standard library */

106
#define RT_LIBC_USING_TIME
107
#define RT_LIBC_DEFAULT_TIMEZONE 8
mysterywolf's avatar
mysterywolf 已提交
108 109 110

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

111 112 113 114 115 116 117

/* Interprocess Communication (IPC) */


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

/* end of Interprocess Communication (IPC) */
mysterywolf's avatar
mysterywolf 已提交
118
/* end of POSIX (Portable Operating System Interface) layer */
119
/* end of POSIX layer and C standard library */
120 121 122 123 124

/* Network */

/* Socket abstraction layer */

125
/* end of Socket abstraction layer */
126

127 128
/* Network interface device */

129
/* end of Network interface device */
130

131 132
/* light weight TCP/IP stack */

133
/* end of light weight TCP/IP stack */
134 135 136

/* AT commands */

137 138
/* end of AT commands */
/* end of Network */
139 140 141

/* VBUS(Virtual Software BUS) */

142
/* end of VBUS(Virtual Software BUS) */
143 144 145

/* Utilities */

146 147 148 149 150 151
/* end of Utilities */
/* end of RT-Thread Components */

/* RT-Thread Utestcases */

/* end of RT-Thread Utestcases */
152 153 154 155 156 157 158 159 160 161

/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */

162
/* end of Marvell WiFi */
163 164 165

/* Wiced WiFi */

166 167
/* end of Wiced WiFi */
/* end of Wi-Fi */
168 169 170

/* IoT Cloud */

171 172
/* end of IoT Cloud */
/* end of IoT - internet of things */
173 174 175

/* security packages */

176
/* end of security packages */
177 178 179

/* language packages */

180
/* end of language packages */
181 182 183

/* multimedia packages */

mysterywolf's avatar
mysterywolf 已提交
184
/* LVGL: powerful and easy-to-use embedded GUI library */
185

mysterywolf's avatar
mysterywolf 已提交
186
/* end of LVGL: powerful and easy-to-use embedded GUI library */
187 188 189 190

/* u8g2: a monochrome graphic library */

/* end of u8g2: a monochrome graphic library */
mysterywolf's avatar
mysterywolf 已提交
191 192 193 194

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

/* end of PainterEngine: A cross-platform graphics application framework written in C language */
195 196
/* end of multimedia packages */

197 198
/* tools packages */

199
/* end of tools packages */
200 201 202

/* system packages */

203 204 205 206
/* enhanced kernel services */

/* end of enhanced kernel services */

207 208 209
/* acceleration: Assembly language or algorithmic acceleration packages */

/* end of acceleration: Assembly language or algorithmic acceleration packages */
210

mysterywolf's avatar
mysterywolf 已提交
211 212 213 214
/* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */

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

215 216
/* Micrium: Micrium software products porting for RT-Thread */

217 218
/* end of Micrium: Micrium software products porting for RT-Thread */
/* end of system packages */
219

220 221
/* peripheral libraries and drivers */

222
/* end of peripheral libraries and drivers */
223

224 225
/* AI packages */

226
/* end of AI packages */
227

228 229 230 231
/* miscellaneous packages */

/* samples: kernel and components samples */

232
/* end of samples: kernel and components samples */
233 234 235

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

236 237 238
/* end of entertainment: terminal games and other interesting software packages */
/* end of miscellaneous packages */
/* end of RT-Thread online packages */
239 240 241 242 243 244 245 246 247 248
#define SOC_FAMILY_STM32
#define SOC_SERIES_STM32F7

/* Hardware Drivers Config */

#define SOC_STM32F767IG

/* Onboard Peripheral Drivers */

#define BSP_USING_USB_TO_USART
249
/* end of Onboard Peripheral Drivers */
250 251 252 253

/* On-chip Peripheral Drivers */

#define BSP_USING_GPIO
254
#define BSP_USING_UART
255
#define BSP_USING_UART1
256
/* end of On-chip Peripheral Drivers */
257 258 259

/* Board extended module Drivers */

260
/* end of Hardware Drivers Config */
261 262

#endif