rtconfig.h 2.1 KB
Newer Older
1 2
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__
A
ardafu 已提交
3

4 5
/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Configuration */
A
ardafu 已提交
6

7
/* RT-Thread Kernel */
A
ardafu 已提交
8

9 10
#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
11
#define RT_THREAD_PRIORITY_32
12 13
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100
A
ardafu 已提交
14 15
#define RT_DEBUG
#define RT_USING_OVERFLOW_CHECK
16
#define RT_DEBUG_INIT 0
17
#define RT_DEBUG_THREAD 0
A
ardafu 已提交
18
#define RT_USING_HOOK
19
#define IDLE_THREAD_STACK_SIZE 512
A
ardafu 已提交
20

21
/* Inter-Thread communication */
A
ardafu 已提交
22 23 24 25 26 27 28

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE

29
/* Memory Management */
A
ardafu 已提交
30

31
#define RT_USING_MEMPOOL
A
ardafu 已提交
32
#define RT_USING_SMALL_MEM
33
#define RT_USING_HEAP
34 35

/* Kernel Device Object */
A
ardafu 已提交
36 37

#define RT_USING_DEVICE
38 39 40
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart2"
A
ardafu 已提交
41

42
/* RT-Thread Components */
A
ardafu 已提交
43

44 45
#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN
46
#define RT_MAIN_THREAD_STACK_SIZE 2048
A
ardafu 已提交
47

48 49 50 51
/* C++ features */


/* Command shell */
A
ardafu 已提交
52 53

#define RT_USING_FINSH
54
#define FINSH_THREAD_NAME "tshell"
55
#define FINSH_USING_HISTORY
56
#define FINSH_HISTORY_LINES 5
A
ardafu 已提交
57 58
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
59 60 61
#define FINSH_THREAD_PRIORITY 20
#define FINSH_THREAD_STACK_SIZE 4096
#define FINSH_CMD_SIZE 80
62 63 64
#define FINSH_USING_MSH
#define FINSH_USING_MSH_DEFAULT
#define FINSH_USING_MSH_ONLY
A
ardafu 已提交
65

66
/* Device virtual file system */
A
ardafu 已提交
67

68 69 70 71 72

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_USING_SERIAL
73 74 75

/* Using USB */

A
ardafu 已提交
76

77 78 79 80 81 82 83 84 85 86 87
/* POSIX layer and C standard library */


/* Network stack */

/* light weight TCP/IP stack */


/* Modbus master and slave stack */


88
/* VBUS(Virtual Software BUS) */
89 90


91
/* Utilities */
92 93


94
/* RT-Thread online packages */
95 96 97

/* IoT - internet of things */

98 99

/* Wi-Fi */
100 101 102

/* Marvell WiFi */

103 104 105

/* Wiced WiFi */

106 107 108 109 110 111 112 113 114

/* security packages */


/* language packages */


/* multimedia packages */

115

116 117
/* tools packages */

118 119 120 121 122 123 124 125

/* system packages */

/* RT-Thread GUI Engine */


/* peripheral libraries and drivers */

126 127 128 129

/* miscellaneous packages */


130 131 132 133
/* sample package */


/* example package: hello */
134 135

#define RT_USING_UART2
A
ardafu 已提交
136 137

#endif