rtconfig.h 4.9 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
#define BOARD_IMX6UL

/* RT-Thread Kernel */
B
Bernard Xiong 已提交
8

9 10 11 12 13 14
#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 100
#define RT_USING_OVERFLOW_CHECK
B
Bernard Xiong 已提交
15
#define RT_USING_HOOK
16 17 18
#define RT_USING_IDLE_HOOK
#define RT_IDLE_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
19 20 21

/* kservice optimization */

22
/* end of kservice optimization */
23 24 25 26
#define RT_DEBUG

/* Inter-Thread communication */

B
Bernard Xiong 已提交
27 28 29 30 31
#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

/* Memory Management */
B
Bernard Xiong 已提交
35 36 37

#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
38
#define RT_USING_HEAP
39
/* end of Memory Management */
40 41

/* Kernel Device Object */
B
Bernard Xiong 已提交
42 43 44

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
45
#define RT_CONSOLEBUF_SIZE 128
46
#define RT_CONSOLE_DEVICE_NAME "uart1"
47
/* end of Kernel Device Object */
mysterywolf's avatar
mysterywolf 已提交
48
#define RT_VER_NUM 0x40100
49
/* end of RT-Thread Kernel */
50
#define ARCH_ARM
51
#define RT_USING_CPU_FFS
52
#define ARCH_ARM_CORTEX_A
53
#define RT_USING_GIC_V2
54 55 56
#define ARCH_ARM_CORTEX_A7

/* RT-Thread Components */
B
Bernard Xiong 已提交
57 58

#define RT_USING_COMPONENTS_INIT
59 60 61

/* C++ features */

62
/* end of C++ features */
63 64 65

/* Command shell */

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

81
/* Device virtual file system */
B
Bernard Xiong 已提交
82

83
#define RT_USING_DFS
mysterywolf's avatar
mysterywolf 已提交
84
#define DFS_USING_POSIX
B
Bernard Xiong 已提交
85
#define DFS_USING_WORKDIR
86 87 88
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FILESYSTEM_TYPES_MAX 2
#define DFS_FD_MAX 16
B
Bernard Xiong 已提交
89
#define RT_USING_DFS_DEVFS
90
/* end of Device virtual file system */
91 92 93 94 95 96

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_PIPE_BUFSZ 512
#define RT_USING_SERIAL
97
#define RT_USING_SERIAL_V1
98 99 100 101 102 103
#define RT_SERIAL_USING_DMA
#define RT_SERIAL_RB_BUFSZ 64
#define RT_USING_PIN

/* Using USB */

104 105
/* end of Using USB */
/* end of Device Drivers */
106 107 108 109

/* POSIX layer and C standard library */

#define RT_USING_LIBC
110 111
#define RT_LIBC_USING_TIME
#define RT_LIBC_DEFAULT_TIMEZONE 8
mysterywolf's avatar
mysterywolf 已提交
112 113 114 115

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

/* end of POSIX (Portable Operating System Interface) layer */
116
/* end of POSIX layer and C standard library */
117 118 119 120 121

/* Network */

/* Socket abstraction layer */

122
/* end of Socket abstraction layer */
123 124 125

/* Network interface device */

126
/* end of Network interface device */
127 128 129

/* light weight TCP/IP stack */

130
/* end of light weight TCP/IP stack */
131 132 133

/* AT commands */

134 135
/* end of AT commands */
/* end of Network */
136 137 138

/* VBUS(Virtual Software BUS) */

139
/* end of VBUS(Virtual Software BUS) */
140 141 142

/* Utilities */

143 144
/* end of Utilities */
/* end of RT-Thread Components */
145

146 147
/* RT-Thread Utestcases */

148
/* end of RT-Thread Utestcases */
149

150 151 152 153 154 155 156 157 158
/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */

159
/* end of Marvell WiFi */
160 161 162

/* Wiced WiFi */

163 164
/* end of Wiced WiFi */
/* end of Wi-Fi */
165 166 167

/* IoT Cloud */

168 169
/* end of IoT Cloud */
/* end of IoT - internet of things */
170 171 172

/* security packages */

173
/* end of security packages */
174 175 176

/* language packages */

177
/* end of language packages */
178 179 180

/* multimedia packages */

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

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

/* u8g2: a monochrome graphic library */

/* end of u8g2: a monochrome graphic library */
mysterywolf's avatar
mysterywolf 已提交
188 189 190 191

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

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

194 195
/* tools packages */

196
/* end of tools packages */
197 198 199

/* system packages */

200 201 202
/* acceleration: Assembly language or algorithmic acceleration packages */

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

mysterywolf's avatar
mysterywolf 已提交
204 205 206 207
/* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */

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

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

210 211
/* end of Micrium: Micrium software products porting for RT-Thread */
/* end of system packages */
212

213 214
/* peripheral libraries and drivers */

215
/* end of peripheral libraries and drivers */
216

217 218
/* AI packages */

219
/* end of AI packages */
220

221 222 223 224
/* miscellaneous packages */

/* samples: kernel and components samples */

225
/* end of samples: kernel and components samples */
226 227 228

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

229 230 231
/* end of entertainment: terminal games and other interesting software packages */
/* end of miscellaneous packages */
/* end of RT-Thread online packages */
232
#define RT_USING_UART1
233
#define SOC_MCIMX6X4
B
Bernard Xiong 已提交
234 235

#endif