rtconfig.h 4.0 KB
Newer Older
B
Bernard Xiong 已提交
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 Project Configuration */

/* RT-Thread Kernel */

#define RT_NAME_MAX 8
#define RT_ALIGN_SIZE 4
#define RT_THREAD_PRIORITY_MAX 32
#define RT_TICK_PER_SECOND 100
#define RT_DEBUG
#define RT_USING_OVERFLOW_CHECK
B
bernard 已提交
15
#define RT_DEBUG_INIT 1
B
Bernard Xiong 已提交
16 17
/* RT_DEBUG_THREAD is not set */
#define RT_USING_HOOK
B
bernard 已提交
18
#define IDLE_THREAD_STACK_SIZE 256
B
Bernard Xiong 已提交
19 20 21 22 23 24 25 26 27
/* RT_USING_TIMER_SOFT is not set */

/* Inter-Thread communication */

#define RT_USING_SEMAPHORE
#define RT_USING_MUTEX
#define RT_USING_EVENT
#define RT_USING_MAILBOX
#define RT_USING_MESSAGEQUEUE
B
bernard 已提交
28
/* RT_USING_SIGNALS is not set */
B
Bernard Xiong 已提交
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57

/* Memory Management */

#define RT_USING_MEMPOOL
#define RT_USING_MEMHEAP
#define RT_USING_HEAP
#define RT_USING_SMALL_MEM
/* RT_USING_SLAB is not set */

/* Kernel Device Object */

#define RT_USING_DEVICE
#define RT_USING_CONSOLE
#define RT_CONSOLEBUF_SIZE 128
#define RT_CONSOLE_DEVICE_NAME "uart0"
/* RT_USING_MODULE is not set */

/* RT-Thread Components */

#define RT_USING_COMPONENTS_INIT
#define RT_USING_USER_MAIN

/* C++ features */

/* RT_USING_CPLUSPLUS is not set */

/* Command shell */

#define RT_USING_FINSH
B
bernard 已提交
58
#define FINSH_USING_HISTORY
B
Bernard Xiong 已提交
59 60
#define FINSH_USING_SYMTAB
#define FINSH_USING_DESCRIPTION
B
bernard 已提交
61
#define FINSH_THREAD_PRIORITY 20
B
Bernard Xiong 已提交
62
#define FINSH_THREAD_STACK_SIZE 4096
B
bernard 已提交
63
#define FINSH_CMD_SIZE 80
B
Bernard Xiong 已提交
64 65 66 67 68 69 70 71 72 73 74 75 76
/* FINSH_USING_AUTH is not set */
#define FINSH_USING_MSH
#define FINSH_USING_MSH_DEFAULT
/* FINSH_USING_MSH_ONLY is not set */

/* Device virtual file system */

#define RT_USING_DFS
#define DFS_USING_WORKDIR
#define DFS_FILESYSTEMS_MAX 2
#define DFS_FD_MAX 4
#define RT_USING_DFS_ELMFAT
#define RT_DFS_ELM_CODE_PAGE 437
B
bernard 已提交
77 78 79 80 81 82 83
#define RT_DFS_ELM_WORD_ACCESS
#define RT_DFS_ELM_USE_LFN_0
/* RT_DFS_ELM_USE_LFN_1 is not set */
/* RT_DFS_ELM_USE_LFN_2 is not set */
/* RT_DFS_ELM_USE_LFN_3 is not set */
#define RT_DFS_ELM_USE_LFN 0
#define RT_DFS_ELM_MAX_LFN 255
B
Bernard Xiong 已提交
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
#define RT_DFS_ELM_DRIVES 2
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
/* RT_DFS_ELM_USE_ERASE is not set */
#define RT_DFS_ELM_REENTRANT
#define RT_USING_DFS_DEVFS
/* RT_USING_DFS_NET is not set */

/* Device Drivers */

#define RT_USING_DEVICE_IPC
#define RT_USING_SERIAL
/* RT_USING_CAN is not set */
/* RT_USING_HWTIMER is not set */
/* RT_USING_I2C is not set */
#define RT_USING_PIN
/* RT_USING_MTD_NOR is not set */
/* RT_USING_MTD_NAND is not set */
/* RT_USING_RTC is not set */
/* RT_USING_SDIO is not set */
/* RT_USING_SPI is not set */
/* RT_USING_WDT is not set */
/* RT_USING_USB_HOST is not set */
/* RT_USING_USB_DEVICE is not set */

B
bernard 已提交
108
/* POSIX layer and C standard library */
B
Bernard Xiong 已提交
109 110 111

#define RT_USING_LIBC
#define RT_USING_PTHREADS
B
bernard 已提交
112 113 114
#define RT_USING_POSIX
/* RT_USING_POSIX_MMAP is not set */
#define RT_USING_POSIX_TERMIOS
B
Bernard Xiong 已提交
115 116 117 118 119 120 121 122 123 124 125

/* Network stack */

/* light weight TCP/IP stack */

/* RT_USING_LWIP is not set */

/* Modbus master and slave stack */

/* RT_USING_MODBUS is not set */

B
bernard 已提交
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
/* RT-Thread UI Engine */

#define RT_USING_GUIENGINE
#define RTGUI_NAME_MAX 16
/* RTGUI_USING_TTF is not set */
#define RTGUI_USING_FONT16
#define RTGUI_USING_FONT12
/* RTGUI_USING_FONTHZ is not set */
/* RTGUI_IMAGE_XPM is not set */
/* RTGUI_IMAGE_JPEG is not set */
/* RTGUI_IMAGE_TJPGD is not set */
/* RTGUI_IMAGE_PNG is not set */
/* RTGUI_IMAGE_LODEPNG is not set */
/* RTGUI_IMAGE_BMP is not set */

B
Bernard Xiong 已提交
141 142
/* RT-Thread online packages */

B
bernard 已提交
143 144 145 146 147
/* system packages */

/* PKG_USING_PARTITION is not set */
/* PKG_USING_SQLITE is not set */

B
Bernard Xiong 已提交
148 149
/* IoT - internet of things */

B
bernard 已提交
150 151 152 153 154 155
/* PKG_USING_PAHOMQTT is not set */
/* PKG_USING_WEBCLIENT is not set */
/* PKG_USING_MONGOOSE is not set */
/* PKG_USING_WEBTERMINAL is not set */
/* PKG_USING_CJSON is not set */
/* PKG_USING_EZXML is not set */
B
Bernard Xiong 已提交
156

B
bernard 已提交
157
/* security packages */
B
Bernard Xiong 已提交
158

B
bernard 已提交
159
/* PKG_USING_MBEDTLS is not set */
B
Bernard Xiong 已提交
160

B
bernard 已提交
161
/* language packages */
B
Bernard Xiong 已提交
162

B
bernard 已提交
163
/* PKG_USING_JERRYSCRIPT is not set */
B
Bernard Xiong 已提交
164

B
bernard 已提交
165 166 167
/* multimedia packages */

/* tools packages */
B
Bernard Xiong 已提交
168 169

/* PKG_USING_CMBACKTRACE is not set */
B
bernard 已提交
170 171 172 173 174
/* PKG_USING_EASYLOGGER is not set */

/* miscellaneous packages */

#define PKG_USING_HELLO
B
Bernard Xiong 已提交
175 176
#define RT_USING_UART0
#define RT_USING_UART1
B
bernard 已提交
177
#define BSP_DRV_CLCD
B
Bernard Xiong 已提交
178 179

#endif