rtconfig.h 2.8 KB
Newer Older
1 2 3 4 5 6 7 8 9
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Configuration */

#define BOARD_IMX6UL

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

11 12 13 14 15 16
#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 已提交
17
#define RT_USING_HOOK
18 19 20
#define RT_USING_IDLE_HOOK
#define RT_IDLE_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
21 22 23

/* kservice optimization */

24 25 26 27
#define RT_DEBUG

/* Inter-Thread communication */

B
Bernard Xiong 已提交
28 29 30 31 32
#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
33 34

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

#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
38 39 40
#define RT_USING_HEAP

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

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
44
#define RT_CONSOLEBUF_SIZE 128
45 46
#define RT_CONSOLE_DEVICE_NAME "uart1"
#define RT_VER_NUM 0x40004
47 48
#define ARCH_ARM
#define ARCH_ARM_CORTEX_A
49
#define RT_USING_GIC_V2
50 51 52
#define ARCH_ARM_CORTEX_A7

/* RT-Thread Components */
B
Bernard Xiong 已提交
53 54

#define RT_USING_COMPONENTS_INIT
55 56 57 58 59 60

/* C++ features */


/* Command shell */

B
Bernard Xiong 已提交
61
#define RT_USING_FINSH
62 63 64
#define FINSH_THREAD_NAME "tshell"
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
B
Bernard Xiong 已提交
65 66
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
67 68 69 70 71 72
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
#define FINSH_CMD_SIZE 80
#define FINSH_USING_MSH
#define FINSH_USING_MSH_DEFAULT
#define FINSH_ARG_MAX 10
B
Bernard Xiong 已提交
73

74
/* Device virtual file system */
B
Bernard Xiong 已提交
75

76
#define RT_USING_DFS
B
Bernard Xiong 已提交
77
#define DFS_USING_WORKDIR
78 79 80
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FILESYSTEM_TYPES_MAX 2
#define DFS_FD_MAX 16
B
Bernard Xiong 已提交
81
#define RT_USING_DFS_DEVFS
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98

/* Device Drivers */

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

/* Using USB */


/* POSIX layer and C standard library */

#define RT_USING_LIBC
#define RT_USING_POSIX
99
#define RT_LIBC_FIXED_TIMEZONE 8
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120

/* Network */

/* Socket abstraction layer */


/* Network interface device */


/* light weight TCP/IP stack */


/* AT commands */


/* VBUS(Virtual Software BUS) */


/* Utilities */


121 122 123
/* RT-Thread Utestcases */


124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */


/* Wiced WiFi */


/* IoT Cloud */


/* security packages */


/* language packages */


/* multimedia packages */


/* tools packages */


/* system 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 167 168
/* miscellaneous packages */


/* samples: kernel and components samples */

169 170 171 172

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

#define RT_USING_UART1
173
#define SOC_MCIMX6X4
B
Bernard Xiong 已提交
174 175

#endif