rtconfig.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Automatically generated file; DO NOT EDIT. */
  4. /* RT-Thread Project Configuration */
  5. /* RT-Thread Kernel */
  6. #define RT_NAME_MAX 8
  7. #define RT_ALIGN_SIZE 4
  8. #define RT_THREAD_PRIORITY_MAX 32
  9. #define RT_TICK_PER_SECOND 100
  10. #define RT_DEBUG
  11. #define RT_USING_OVERFLOW_CHECK
  12. #define RT_DEBUG_INIT 0
  13. #define RT_DEBUG_THREAD 0
  14. #define RT_USING_HOOK
  15. #define IDLE_THREAD_STACK_SIZE 256
  16. /* RT_USING_TIMER_SOFT is not set */
  17. /* Inter-Thread communication */
  18. #define RT_USING_SEMAPHORE
  19. #define RT_USING_MUTEX
  20. #define RT_USING_EVENT
  21. #define RT_USING_MAILBOX
  22. #define RT_USING_MESSAGEQUEUE
  23. #define RT_USING_SIGNALS
  24. /* Memory Management */
  25. #define RT_USING_MEMPOOL
  26. #define RT_USING_MEMHEAP
  27. #define RT_USING_HEAP
  28. #define RT_USING_SMALL_MEM
  29. /* RT_USING_SLAB is not set */
  30. /* Kernel Device Object */
  31. #define RT_USING_DEVICE
  32. #define RT_USING_INTERRUPT_INFO
  33. #define RT_USING_CONSOLE
  34. #define RT_CONSOLEBUF_SIZE 128
  35. #define RT_CONSOLE_DEVICE_NAME "uart0"
  36. /* RT_USING_MODULE is not set */
  37. /* RT-Thread Components */
  38. #define RT_USING_COMPONENTS_INIT
  39. #define RT_USING_USER_MAIN
  40. /* C++ features */
  41. /* RT_USING_CPLUSPLUS is not set */
  42. /* Command shell */
  43. #define RT_USING_FINSH
  44. #define FINSH_USING_HISTORY
  45. #define FINSH_USING_SYMTAB
  46. #define FINSH_USING_DESCRIPTION
  47. #define FINSH_THREAD_PRIORITY 20
  48. #define FINSH_THREAD_STACK_SIZE 4096
  49. #define FINSH_CMD_SIZE 80
  50. /* FINSH_USING_AUTH is not set */
  51. #define FINSH_USING_MSH
  52. #define FINSH_USING_MSH_DEFAULT
  53. /* FINSH_USING_MSH_ONLY is not set */
  54. /* Device virtual file system */
  55. #define RT_USING_DFS
  56. #define DFS_USING_WORKDIR
  57. #define DFS_FILESYSTEMS_MAX 2
  58. #define DFS_FD_MAX 4
  59. #define RT_USING_DFS_ELMFAT
  60. /* elm-chan's FatFs, Generic FAT Filesystem Module */
  61. #define RT_DFS_ELM_CODE_PAGE 437
  62. #define RT_DFS_ELM_WORD_ACCESS
  63. #define RT_DFS_ELM_USE_LFN_0
  64. /* RT_DFS_ELM_USE_LFN_1 is not set */
  65. /* RT_DFS_ELM_USE_LFN_2 is not set */
  66. /* RT_DFS_ELM_USE_LFN_3 is not set */
  67. #define RT_DFS_ELM_USE_LFN 0
  68. #define RT_DFS_ELM_MAX_LFN 255
  69. #define RT_DFS_ELM_DRIVES 2
  70. #define RT_DFS_ELM_MAX_SECTOR_SIZE 512
  71. /* RT_DFS_ELM_USE_ERASE is not set */
  72. #define RT_DFS_ELM_REENTRANT
  73. #define RT_USING_DFS_DEVFS
  74. #define RT_USING_DFS_NET
  75. #define HAVE_SYS_SELECT_H
  76. /* HAVE_SYS_SOCKET_H is not set */
  77. #define RT_USING_DFS_ROMFS
  78. #define RT_USING_DFS_RAMFS
  79. /* RT_USING_DFS_UFFS is not set */
  80. /* RT_USING_DFS_NFS is not set */
  81. /* Device Drivers */
  82. #define RT_USING_DEVICE_IPC
  83. #define RT_USING_SERIAL
  84. /* RT_USING_CAN is not set */
  85. /* RT_USING_HWTIMER is not set */
  86. #define RT_USING_I2C
  87. #define RT_USING_I2C_BITOPS
  88. #define RT_USING_PIN
  89. #define RT_USING_MTD_NOR
  90. #define RT_USING_MTD_NAND
  91. #define RT_MTD_NAND_DEBUG
  92. #define RT_USING_RTC
  93. #define RT_USING_SDIO
  94. #define RT_USING_SPI
  95. #define RT_USING_SFUD
  96. #define RT_SFUD_USING_SFDP
  97. #define RT_SFUD_USING_FLASH_INFO_TABLE
  98. /* RT_SFUD_DEBUG is not set */
  99. /* RT_USING_W25QXX is not set */
  100. /* RT_USING_GD is not set */
  101. /* RT_USING_ENC28J60 is not set */
  102. /* RT_USING_SPI_WIFI is not set */
  103. #define RT_USING_WDT
  104. /* RT_USING_USB_HOST is not set */
  105. /* RT_USING_USB_DEVICE is not set */
  106. /* POSIX layer and C standard library */
  107. #define RT_USING_LIBC
  108. #define RT_USING_PTHREADS
  109. #define RT_USING_POSIX
  110. /* RT_USING_POSIX_MMAP is not set */
  111. #define RT_USING_POSIX_TERMIOS
  112. /* Network stack */
  113. /* light weight TCP/IP stack */
  114. #define RT_USING_LWIP
  115. /* RT_USING_LWIP141 is not set */
  116. #define RT_USING_LWIP202
  117. /* RT_LWIP_IGMP is not set */
  118. #define RT_LWIP_ICMP
  119. /* RT_LWIP_SNMP is not set */
  120. #define RT_LWIP_DNS
  121. #define RT_LWIP_DHCP
  122. #define IP_SOF_BROADCAST 1
  123. #define IP_SOF_BROADCAST_RECV 1
  124. /* LWIP_USING_DHCPD is not set */
  125. /* Static IPv4 Address */
  126. #define RT_LWIP_IPADDR "192.168.1.30"
  127. #define RT_LWIP_GWADDR "192.168.1.1"
  128. #define RT_LWIP_MSKADDR "255.255.255.0"
  129. #define RT_LWIP_UDP
  130. #define RT_LWIP_TCP
  131. /* RT_LWIP_RAW is not set */
  132. /* RT_LWIP_PPP is not set */
  133. /* RT_LWIP_PPPOE is not set */
  134. /* RT_LWIP_PPPOS is not set */
  135. #define RT_LWIP_PBUF_NUM 16
  136. #define RT_LWIP_RAW_PCB_NUM 4
  137. #define RT_LWIP_UDP_PCB_NUM 4
  138. #define RT_LWIP_TCP_PCB_NUM 4
  139. #define RT_LWIP_TCP_SEG_NUM 40
  140. #define RT_LWIP_TCP_SND_BUF 8196
  141. #define RT_LWIP_TCP_WND 8196
  142. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  143. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
  144. #define RT_LWIP_TCPTHREAD_STACKSIZE 1024
  145. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  146. #define RT_LWIP_ETHTHREAD_STACKSIZE 1024
  147. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
  148. /* RT_LWIP_REASSEMBLY_FRAG is not set */
  149. #define LWIP_NETIF_STATUS_CALLBACK 1
  150. #define SO_REUSE 1
  151. #define LWIP_SO_RCVTIMEO 1
  152. #define LWIP_SO_SNDTIMEO 1
  153. #define LWIP_SO_RCVBUF 1
  154. /* Modbus master and slave stack */
  155. /* RT_USING_MODBUS is not set */
  156. /* RT_USING_NETUTILS is not set */
  157. /* RT-Thread UI Engine */
  158. #define RT_USING_GUIENGINE
  159. #define RTGUI_NAME_MAX 16
  160. #define RTGUI_USING_TTF
  161. #define RTGUI_USING_FONT16
  162. #define RTGUI_USING_FONT12
  163. /* RTGUI_USING_FONTHZ is not set */
  164. /* RTGUI_IMAGE_XPM is not set */
  165. /* RTGUI_IMAGE_JPEG_NONE is not set */
  166. /* RTGUI_IMAGE_JPEG is not set */
  167. #define RTGUI_IMAGE_TJPGD
  168. /* RTGUI_IMAGE_PNG_NONE is not set */
  169. /* RTGUI_IMAGE_PNG is not set */
  170. #define RTGUI_IMAGE_LODEPNG
  171. /* RTGUI_IMAGE_BMP is not set */
  172. #define RTGUI_IMAGE_CONTAINER
  173. /* VBUS(Virtual Software BUS) */
  174. /* RT_USING_VBUS is not set */
  175. /* RT-Thread online packages */
  176. /* system packages */
  177. /* PKG_USING_PARTITION is not set */
  178. /* PKG_USING_SQLITE is not set */
  179. /* IoT - internet of things */
  180. /* PKG_USING_PAHOMQTT is not set */
  181. /* PKG_USING_WEBCLIENT is not set */
  182. /* PKG_USING_MONGOOSE is not set */
  183. /* PKG_USING_WEBTERMINAL is not set */
  184. /* PKG_USING_CJSON is not set */
  185. /* PKG_USING_EZXML is not set */
  186. /* Marvell WiFi */
  187. /* PKG_USING_MARVELLWIFI is not set */
  188. /* security packages */
  189. /* PKG_USING_MBEDTLS is not set */
  190. /* language packages */
  191. /* PKG_USING_JERRYSCRIPT is not set */
  192. /* multimedia packages */
  193. /* tools packages */
  194. /* PKG_USING_CMBACKTRACE is not set */
  195. /* PKG_USING_EASYLOGGER is not set */
  196. /* miscellaneous packages */
  197. #define PKG_USING_HELLO
  198. #define RT_USING_UART0
  199. #define RT_USING_UART1
  200. #define BSP_DRV_CLCD
  201. #define BSP_DRV_EMAC
  202. #endif