rtconfig.h 3.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#ifndef RT_CONFIG_H__
#define RT_CONFIG_H__

/* Automatically generated file; DO NOT EDIT. */
/* RT-Thread Project 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
misonyo's avatar
misonyo 已提交
13
#define RT_TICK_PER_SECOND 1000
N
nongxiaoming 已提交
14 15
#define RT_USING_OVERFLOW_CHECK
#define RT_USING_HOOK
misonyo's avatar
misonyo 已提交
16
#define RT_USING_IDLE_HOOK
17
#define RT_IDLE_HOOK_LIST_SIZE 4
misonyo's avatar
misonyo 已提交
18 19 20
#define IDLE_THREAD_STACK_SIZE 256
#define RT_DEBUG
#define RT_DEBUG_COLOR
21 22 23

/* Inter-Thread communication */

N
nongxiaoming 已提交
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 30

/* Memory Management */
N
nongxiaoming 已提交
31 32 33

#define RT_USING_MEMPOOL
#define RT_USING_MEMHEAP
misonyo's avatar
misonyo 已提交
34
#define RT_USING_MEMHEAP_AS_HEAP
35 36 37
#define RT_USING_HEAP

/* Kernel Device Object */
N
nongxiaoming 已提交
38 39 40

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
41 42
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart0"
43
#define RT_VER_NUM 0x40003
44
#define ARCH_ARM
45
#define RT_USING_CPU_FFS
46 47 48 49 50
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_M4

/* RT-Thread Components */

misonyo's avatar
misonyo 已提交
51 52 53 54
#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN
#define RT_MAIN_THREAD_STACK_SIZE 2048
#define RT_MAIN_THREAD_PRIORITY 10
55 56 57 58 59 60

/* C++ features */


/* Command shell */

N
nongxiaoming 已提交
61
#define RT_USING_FINSH
62 63 64
#define FINSH_THREAD_NAME "tshell"
#define FINSH_USING_HISTORY
#define FINSH_HISTORY_LINES 5
N
nongxiaoming 已提交
65 66
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
67 68 69 70 71
#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
misonyo's avatar
misonyo 已提交
72 73
#define FINSH_USING_MSH_ONLY
#define FINSH_ARG_MAX 10
N
nongxiaoming 已提交
74

75
/* Device virtual file system */
N
nongxiaoming 已提交
76

77
#define RT_USING_DFS
N
nongxiaoming 已提交
78
#define DFS_USING_WORKDIR
79 80 81
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FILESYSTEM_TYPES_MAX 2
#define DFS_FD_MAX 16
N
nongxiaoming 已提交
82
#define RT_USING_DFS_ELMFAT
83 84 85 86 87 88 89 90 91 92

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

#define RT_DFS_ELM_CODE_PAGE 936
#define RT_DFS_ELM_WORD_ACCESS
#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 2
#define RT_DFS_ELM_MAX_SECTOR_SIZE 4096
N
nongxiaoming 已提交
93 94
#define RT_DFS_ELM_REENTRANT
#define RT_USING_DFS_DEVFS
95 96 97 98

/* Device Drivers */

#define RT_USING_DEVICE_IPC
misonyo's avatar
misonyo 已提交
99
#define RT_PIPE_BUFSZ 512
100
#define RT_USING_SERIAL
101
#define RT_SERIAL_USING_DMA
misonyo's avatar
misonyo 已提交
102
#define RT_SERIAL_RB_BUFSZ 64
103
#define RT_USING_PIN
misonyo's avatar
misonyo 已提交
104

105 106 107 108 109
/* Using USB */


/* POSIX layer and C standard library */

110
#define RT_LIBC_USING_TIME
111

misonyo's avatar
misonyo 已提交
112 113 114 115
/* Network */

/* Socket abstraction layer */

116

117
/* Network interface device */
118 119


120
/* light weight TCP/IP stack */
121

misonyo's avatar
misonyo 已提交
122 123 124

/* AT commands */

125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143

/* VBUS(Virtual Software BUS) */


/* Utilities */


/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */


/* Wiced WiFi */

misonyo's avatar
misonyo 已提交
144 145 146

/* IoT Cloud */

147 148 149 150 151 152 153 154 155 156 157 158

/* security packages */


/* language packages */


/* multimedia packages */


/* tools packages */

misonyo's avatar
misonyo 已提交
159 160 161 162 163 164

/* system packages */


/* peripheral libraries and drivers */

165 166 167 168

/* miscellaneous packages */


misonyo's avatar
misonyo 已提交
169
/* samples: kernel and components samples */
170 171

#define SOC_LPC4088
misonyo's avatar
misonyo 已提交
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186

/* Hardware Drivers Config */

/* On-chip Peripheral Drivers */


/* UART Drivers */

#define BSP_USING_UART0

/* Onboard Peripheral Drivers */


/* Offboard Peripheral Drivers */

187

N
nongxiaoming 已提交
188
#endif