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
#define RT_SERIAL_USING_DMA
74 75 76

/* Using USB */

A
ardafu 已提交
77

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


/* Network stack */

/* light weight TCP/IP stack */


/* Modbus master and slave stack */


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


92
/* Utilities */
93 94


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

/* IoT - internet of things */

99 100

/* Wi-Fi */
101 102 103

/* Marvell WiFi */

104 105 106

/* Wiced WiFi */

107 108 109 110 111 112 113 114 115

/* security packages */


/* language packages */


/* multimedia packages */

116

117 118
/* tools packages */

119 120 121 122 123 124 125 126

/* system packages */

/* RT-Thread GUI Engine */


/* peripheral libraries and drivers */

127 128 129 130

/* miscellaneous packages */


131 132 133 134
/* sample package */


/* example package: hello */
135 136

#define RT_USING_UART2
A
ardafu 已提交
137 138

#endif