rtconfig.h 5.5 KB

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