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 17 18 19 20
#define RT_USING_IDLE_HOOK
#define RT_IDEL_HOOK_LIST_SIZE 4
#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"
misonyo's avatar
misonyo 已提交
43
#define RT_VER_NUM 0x40001
44 45 46 47 48 49
#define ARCH_ARM
#define ARCH_ARM_CORTEX_M
#define ARCH_ARM_CORTEX_M4

/* RT-Thread Components */

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

/* C++ features */


/* Command shell */

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

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

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

/* 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 已提交
92 93
#define RT_DFS_ELM_REENTRANT
#define RT_USING_DFS_DEVFS
94 95 96 97

/* Device Drivers */

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

/* Using WiFi */

106 107 108 109 110 111 112

/* Using USB */


/* POSIX layer and C standard library */


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

/* Socket abstraction layer */

117 118 119 120 121 122

/* light weight TCP/IP stack */


/* Modbus master and slave stack */

misonyo's avatar
misonyo 已提交
123 124 125

/* AT commands */

126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147

/* VBUS(Virtual Software BUS) */


/* Utilities */


/* ARM CMSIS */


/* RT-Thread online packages */

/* IoT - internet of things */


/* Wi-Fi */

/* Marvell WiFi */


/* Wiced WiFi */

misonyo's avatar
misonyo 已提交
148 149 150

/* IoT Cloud */

151 152 153 154 155 156 157 158 159 160 161 162

/* security packages */


/* language packages */


/* multimedia packages */


/* tools packages */

misonyo's avatar
misonyo 已提交
163 164 165 166 167 168

/* system packages */


/* peripheral libraries and drivers */

169 170 171 172

/* miscellaneous packages */


misonyo's avatar
misonyo 已提交
173
/* samples: kernel and components samples */
174 175

#define SOC_LPC4088
misonyo's avatar
misonyo 已提交
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190

/* Hardware Drivers Config */

/* On-chip Peripheral Drivers */


/* UART Drivers */

#define BSP_USING_UART0

/* Onboard Peripheral Drivers */


/* Offboard Peripheral Drivers */

191

N
nongxiaoming 已提交
192
#endif