rtconfig.h 2.8 KB
Newer Older
1 2
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__
M
Ming, Bai 已提交
3

4 5
/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Project Configuration */
M
Ming, Bai 已提交
6

7
/* RT-Thread Kernel */
M
Ming, Bai 已提交
8

9 10 11 12 13
#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
M
Ming, Bai 已提交
14 15
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
16
#define RT_USING_IDLE_HOOK
17
#define RT_IDLE_HOOK_LIST_SIZE 4
18
#define IDLE_THREAD_STACK_SIZE 256
19 20
#define RT_DEBUG
#define RT_DEBUG_COLOR
M
Ming, Bai 已提交
21

22
/* Inter-Thread communication */
M
Ming, Bai 已提交
23 24 25 26 27 28 29

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

30
/* Memory Management */
M
Ming, Bai 已提交
31

32 33
#define RT_USING_MEMPOOL
#define RT_USING_SMALL_MEM
M
Ming, Bai 已提交
34 35
#define RT_USING_HEAP

36
/* Kernel Device Object */
M
Ming, Bai 已提交
37 38 39

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
40 41
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart1"
42
#define RT_VER_NUM 0x40001
43 44 45 46 47 48 49 50 51 52 53
#define ARCH_ARM
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_M3

/* RT-Thread Components */


/* C++ features */


/* Command shell */
M
Ming, Bai 已提交
54 55

#define RT_USING_FINSH
56 57 58
#define FINSH_THREAD_NAME "tshell"
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
M
Ming, Bai 已提交
59 60
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
61 62 63 64 65
#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
66
#define FINSH_ARG_MAX 10
67 68 69 70 71 72 73 74

/* 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 4
M
Ming, Bai 已提交
75
#define RT_USING_DFS_ELMFAT
76 77 78 79

/* elm-chan's FatFs, Generic FAT Filesystem Module */

#define RT_DFS_ELM_CODE_PAGE 437
M
Ming, Bai 已提交
80
#define RT_DFS_ELM_WORD_ACCESS
81 82 83 84 85 86 87 88 89 90 91
#define RT_DFS_ELM_USE_LFN_0
#define RT_DFS_ELM_USE_LFN 0
#define RT_DFS_ELM_MAX_LFN 255
#define RT_DFS_ELM_DRIVES 1
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
#define RT_DFS_ELM_REENTRANT
#define RT_USING_DFS_DEVFS

/* Device Drivers */

#define RT_USING_DEVICE_IPC
92
#define RT_PIPE_BUFSZ 512
93
#define RT_USING_PIN
94
#define RT_USING_RTC
95

96 97 98
/* Using WiFi */


99 100 101 102 103 104 105 106
/* Using USB */


/* POSIX layer and C standard library */

#define RT_USING_LIBC
#define RT_USING_POSIX

107 108 109 110
/* Network */

/* Socket abstraction layer */

111 112 113 114 115 116 117

/* light weight TCP/IP stack */


/* Modbus master and slave stack */


118 119 120
/* AT commands */


121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
/* VBUS(Virtual Software BUS) */


/* Utilities */


/* ARM CMSIS */


/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */


/* Wiced WiFi */


143 144 145
/* IoT Cloud */


146 147 148 149 150 151 152 153 154 155 156
/* security packages */


/* language packages */


/* multimedia packages */


/* tools packages */

157 158 159 160 161 162

/* system packages */


/* peripheral libraries and drivers */

163 164 165

/* miscellaneous packages */

166

167
/* samples: kernel and components samples */
168

169 170
#define SOC_STM32F2
#define RT_USING_UART1
M
Ming, Bai 已提交
171 172

#endif