rtconfig.h 2.4 KB
Newer Older
L
liruncong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

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

/* 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 100
#define RT_USING_OVERFLOW_CHECK
B
bernard 已提交
15
#define RT_USING_HOOK
L
liruncong 已提交
16 17 18 19 20 21
#define RT_IDEL_HOOK_LIST_SIZE 4
#define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG

/* Inter-Thread communication */

B
bernard 已提交
22 23 24 25 26 27
#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE

L
liruncong 已提交
28 29
/* Memory Management */

B
bernard 已提交
30 31
#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
L
liruncong 已提交
32
#define RT_USING_HEAP
B
bernard 已提交
33

L
liruncong 已提交
34
/* Kernel Device Object */
B
bernard 已提交
35

L
liruncong 已提交
36
#define RT_USING_DEVICE
B
bernard 已提交
37
#define RT_USING_CONSOLE
L
liruncong 已提交
38 39 40 41
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart"

/* RT-Thread Components */
B
bernard 已提交
42 43

#define RT_USING_COMPONENTS_INIT
L
liruncong 已提交
44 45 46 47 48 49 50 51 52
#define RT_USING_USER_MAIN
#define RT_MAIN_THREAD_STACK_SIZE 2048
#define RT_MAIN_THREAD_PRIORITY 10

/* C++ features */


/* Command shell */

B
bernard 已提交
53
#define RT_USING_FINSH
L
liruncong 已提交
54 55 56
#define FINSH_THREAD_NAME "tshell"
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
B
bernard 已提交
57 58
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
L
liruncong 已提交
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
#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

/* Device virtual file system */

#define RT_USING_DFS
#define DFS_USING_WORKDIR
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FILESYSTEM_TYPES_MAX 2
#define DFS_FD_MAX 16
#define RT_USING_DFS_DEVFS

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_PIPE_BUFSZ 512
#define RT_USING_SERIAL
80
#define RT_SERIAL_USING_DMA
L
liruncong 已提交
81 82 83 84 85 86
#define RT_USING_PIN

/* Using USB */


/* POSIX layer and C standard library */
B
bernard 已提交
87

88
#define RT_USING_LIBC
B
bernard 已提交
89

L
liruncong 已提交
90 91 92 93 94 95 96
/* Network */

/* Socket abstraction layer */


/* light weight TCP/IP stack */

B
bernard 已提交
97

L
liruncong 已提交
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 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
/* Modbus master and slave stack */


/* AT commands */


/* VBUS(Virtual Software BUS) */


/* Utilities */


/* 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 */


/* peripheral libraries and drivers */


/* miscellaneous packages */


/* sample package */


/* example package: hello */

#define RT_USING_UART1

#endif