rtconfig.h 4.6 KB
Newer Older
B
bkb 已提交
1 2 3
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

4
/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
B
bkb 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

/* 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
#define RT_IDLE_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256

/* kservice optimization */

21
/* end of kservice optimization */
B
bkb 已提交
22 23 24 25 26 27 28 29 30
#define RT_DEBUG

/* Inter-Thread communication */

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
31
/* end of Inter-Thread communication */
B
bkb 已提交
32 33 34 35 36 37

/* Memory Management */

#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
#define RT_USING_HEAP
38
/* end of Memory Management */
B
bkb 已提交
39 40 41 42 43 44 45

/* Kernel Device Object */

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart1"
46
/* end of Kernel Device Object */
B
bkb 已提交
47
#define RT_VER_NUM 0x40004
48
/* end of RT-Thread Kernel */
B
bkb 已提交
49 50 51 52 53 54 55 56 57 58 59 60 61 62
#define ARCH_ARM
#define RT_USING_CPU_FFS
#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 */

63
/* end of C++ features */
B
bkb 已提交
64 65 66 67

/* Command shell */

#define RT_USING_FINSH
68 69
#define RT_USING_MSH
#define FINSH_USING_MSH
B
bkb 已提交
70
#define FINSH_THREAD_NAME "tshell"
71 72
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
B
bkb 已提交
73 74 75 76
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
#define FINSH_USING_SYMTAB
#define FINSH_CMD_SIZE 80
77 78
#define MSH_USING_BUILT_IN_COMMANDS
#define FINSH_USING_DESCRIPTION
B
bkb 已提交
79
#define FINSH_ARG_MAX 10
80
/* end of Command shell */
B
bkb 已提交
81 82 83

/* Device virtual file system */

84
/* end of Device virtual file system */
B
bkb 已提交
85 86 87 88 89 90 91 92 93 94 95 96 97

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_PIPE_BUFSZ 512
#define RT_USING_SERIAL
#define RT_USING_SERIAL_V1
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_PIN

/* Using USB */

98 99
/* end of Using USB */
/* end of Device Drivers */
B
bkb 已提交
100 101 102 103 104

/* POSIX layer and C standard library */

#define RT_LIBC_USING_TIME
#define RT_LIBC_DEFAULT_TIMEZONE 8
105
/* end of POSIX layer and C standard library */
B
bkb 已提交
106 107 108 109 110

/* Network */

/* Socket abstraction layer */

111
/* end of Socket abstraction layer */
B
bkb 已提交
112 113 114

/* Network interface device */

115
/* end of Network interface device */
B
bkb 已提交
116 117 118

/* light weight TCP/IP stack */

119
/* end of light weight TCP/IP stack */
B
bkb 已提交
120 121 122

/* AT commands */

123 124
/* end of AT commands */
/* end of Network */
B
bkb 已提交
125 126 127

/* VBUS(Virtual Software BUS) */

128
/* end of VBUS(Virtual Software BUS) */
B
bkb 已提交
129 130 131

/* Utilities */

132 133
/* end of Utilities */
/* end of RT-Thread Components */
B
bkb 已提交
134 135 136

/* RT-Thread Utestcases */

137
/* end of RT-Thread Utestcases */
B
bkb 已提交
138 139 140 141 142 143 144 145 146 147

/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */

148
/* end of Marvell WiFi */
B
bkb 已提交
149 150 151

/* Wiced WiFi */

152 153
/* end of Wiced WiFi */
/* end of Wi-Fi */
B
bkb 已提交
154 155 156

/* IoT Cloud */

157 158
/* end of IoT Cloud */
/* end of IoT - internet of things */
B
bkb 已提交
159 160 161

/* security packages */

162
/* end of security packages */
B
bkb 已提交
163 164 165

/* language packages */

166
/* end of language packages */
B
bkb 已提交
167 168 169 170

/* multimedia packages */


171 172 173 174 175 176 177 178 179
/* lvgl: powerful and easy-to-use embedded GUI library */

/* end of lvgl: powerful and easy-to-use embedded GUI library */

/* u8g2: a monochrome graphic library */

/* end of u8g2: a monochrome graphic library */
/* end of multimedia packages */

B
bkb 已提交
180 181
/* tools packages */

182
/* end of tools packages */
B
bkb 已提交
183 184 185 186 187

/* system packages */

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

188
/* end of acceleration: Assembly language or algorithmic acceleration packages */
B
bkb 已提交
189 190 191

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

192 193
/* end of Micrium: Micrium software products porting for RT-Thread */
/* end of system packages */
B
bkb 已提交
194 195 196

/* peripheral libraries and drivers */

197
/* end of peripheral libraries and drivers */
B
bkb 已提交
198 199 200

/* AI packages */

201
/* end of AI packages */
B
bkb 已提交
202 203 204 205 206

/* miscellaneous packages */

/* samples: kernel and components samples */

207
/* end of samples: kernel and components samples */
B
bkb 已提交
208 209 210

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

211 212 213
/* end of entertainment: terminal games and other interesting software packages */
/* end of miscellaneous packages */
/* end of RT-Thread online packages */
B
bkb 已提交
214 215 216 217 218 219 220 221 222 223 224 225 226 227
#define SOC_FAMILY_STM32
#define SOC_SERIES_STM32H7

/* Hardware Drivers Config */

#define SOC_STM32H743XI

/* Onboard Peripheral Drivers */

/* On-chip Peripheral Drivers */

#define BSP_USING_GPIO
#define BSP_USING_UART
#define BSP_USING_UART1
228
/* end of On-chip Peripheral Drivers */
B
bkb 已提交
229 230 231

/* Board extended module Drivers */

232
/* end of Hardware Drivers Config */
B
bkb 已提交
233 234

#endif