1
0

rtconfig.h 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Automatically generated file; DO NOT EDIT. */
  4. /* RT-Thread Configuration */
  5. /* RT-Thread Kernel */
  6. #define RT_NAME_MAX 8
  7. #define RT_ALIGN_SIZE 4
  8. /* RT_THREAD_PRIORITY_8 is not set */
  9. #define RT_THREAD_PRIORITY_32
  10. /* RT_THREAD_PRIORITY_256 is not set */
  11. #define RT_THREAD_PRIORITY_MAX 32
  12. #define RT_TICK_PER_SECOND 100
  13. #define RT_DEBUG
  14. #define RT_USING_OVERFLOW_CHECK
  15. #define RT_DEBUG_INIT 0
  16. #define RT_DEBUG_THREAD 0
  17. #define RT_USING_HOOK
  18. #define IDLE_THREAD_STACK_SIZE 256
  19. /* RT_USING_TIMER_SOFT is not set */
  20. /* Inter-Thread communication */
  21. #define RT_USING_SEMAPHORE
  22. #define RT_USING_MUTEX
  23. #define RT_USING_EVENT
  24. #define RT_USING_MAILBOX
  25. #define RT_USING_MESSAGEQUEUE
  26. /* RT_USING_SIGNALS is not set */
  27. /* Memory Management */
  28. #define RT_USING_MEMPOOL
  29. #define RT_USING_MEMHEAP
  30. /* RT_USING_NOHEAP is not set */
  31. #define RT_USING_SMALL_MEM
  32. /* RT_USING_SLAB is not set */
  33. /* RT_USING_MEMHEAP_AS_HEAP is not set */
  34. #define RT_USING_HEAP
  35. /* Kernel Device Object */
  36. #define RT_USING_DEVICE
  37. /* RT_USING_INTERRUPT_INFO is not set */
  38. #define RT_USING_CONSOLE
  39. #define RT_CONSOLEBUF_SIZE 128
  40. #define RT_CONSOLE_DEVICE_NAME "uart2"
  41. /* RT_USING_MODULE is not set */
  42. /* RT-Thread Components */
  43. #define RT_USING_COMPONENTS_INIT
  44. #define RT_USING_USER_MAIN
  45. /* C++ features */
  46. /* RT_USING_CPLUSPLUS is not set */
  47. /* Command shell */
  48. #define RT_USING_FINSH
  49. #define FINSH_USING_HISTORY
  50. #define FINSH_USING_SYMTAB
  51. #define FINSH_USING_DESCRIPTION
  52. #define FINSH_THREAD_PRIORITY 20
  53. #define FINSH_THREAD_STACK_SIZE 4096
  54. #define FINSH_CMD_SIZE 80
  55. /* FINSH_USING_AUTH is not set */
  56. #define FINSH_USING_MSH
  57. #define FINSH_USING_MSH_DEFAULT
  58. #define FINSH_USING_MSH_ONLY
  59. /* Device virtual file system */
  60. /* RT_USING_DFS is not set */
  61. /* Device Drivers */
  62. #define RT_USING_DEVICE_IPC
  63. #define RT_USING_SERIAL
  64. /* RT_USING_CAN is not set */
  65. /* RT_USING_HWTIMER is not set */
  66. /* RT_USING_I2C is not set */
  67. #define RT_USING_PIN
  68. /* RT_USING_MTD_NOR is not set */
  69. /* RT_USING_MTD_NAND is not set */
  70. /* RT_USING_RTC is not set */
  71. /* RT_USING_SDIO is not set */
  72. /* RT_USING_SPI is not set */
  73. /* RT_USING_WDT is not set */
  74. /* RT_USING_WIFI is not set */
  75. /* Using USB */
  76. /* RT_USING_USB_HOST is not set */
  77. /* RT_USING_USB_DEVICE is not set */
  78. /* POSIX layer and C standard library */
  79. /* RT_USING_LIBC is not set */
  80. /* RT_USING_PTHREADS is not set */
  81. /* Network stack */
  82. /* light weight TCP/IP stack */
  83. /* RT_USING_LWIP is not set */
  84. /* Modbus master and slave stack */
  85. /* RT_USING_MODBUS is not set */
  86. /* RT-Thread UI Engine */
  87. /* PKG_USING_GUIENGINE is not set */
  88. /* VBUS(Virtual Software BUS) */
  89. /* RT_USING_VBUS is not set */
  90. /* Utilities */
  91. /* RT_USING_LOGTRACE is not set */
  92. /* RT_USING_RYM is not set */
  93. /* RT-Thread online packages */
  94. /* system packages */
  95. /* PKG_USING_PARTITION is not set */
  96. /* PKG_USING_SQLITE is not set */
  97. /* IoT - internet of things */
  98. /* PKG_USING_CJSON is not set */
  99. /* PKG_USING_PAHOMQTT is not set */
  100. /* PKG_USING_WEBCLIENT is not set */
  101. /* PKG_USING_MONGOOSE is not set */
  102. /* PKG_USING_WEBTERMINAL is not set */
  103. /* security packages */
  104. /* PKG_USING_MBEDTLS is not set */
  105. /* language packages */
  106. /* PKG_USING_JERRYSCRIPT is not set */
  107. /* multimedia packages */
  108. /* tools packages */
  109. /* PKG_USING_CMBACKTRACE is not set */
  110. /* PKG_USING_EASYLOGGER is not set */
  111. /* miscellaneous packages */
  112. /* PKG_USING_HELLO is not set */
  113. /* SOC_STM32F405RG is not set */
  114. /* SOC_STM32F405VG is not set */
  115. /* SOC_STM32F405ZG is not set */
  116. /* SOC_STM32F415RG is not set */
  117. /* SOC_STM32F415VG is not set */
  118. /* SOC_STM32F415ZG is not set */
  119. #define SOC_STM32F407VG
  120. /* SOC_STM32F407VE is not set */
  121. /* SOC_STM32F407ZG is not set */
  122. /* SOC_STM32F407ZE is not set */
  123. /* SOC_STM32F407IG is not set */
  124. /* SOC_STM32F407IE is not set */
  125. /* SOC_STM32F417VG is not set */
  126. /* SOC_STM32F417VE is not set */
  127. /* SOC_STM32F417ZG is not set */
  128. /* SOC_STM32F417ZE is not set */
  129. /* SOC_STM32F417IG is not set */
  130. /* SOC_STM32F417IE is not set */
  131. /* SOC_STM32F427VG is not set */
  132. /* SOC_STM32F427VI is not set */
  133. /* SOC_STM32F427ZG is not set */
  134. /* SOC_STM32F427ZI is not set */
  135. /* SOC_STM32F427IG is not set */
  136. /* SOC_STM32F427II is not set */
  137. /* SOC_STM32F437VG is not set */
  138. /* SOC_STM32F437VI is not set */
  139. /* SOC_STM32F437ZG is not set */
  140. /* SOC_STM32F437ZI is not set */
  141. /* SOC_STM32F437IG is not set */
  142. /* SOC_STM32F437II is not set */
  143. /* SOC_STM32F429VG is not set */
  144. /* SOC_STM32F429VI is not set */
  145. /* SOC_STM32F429ZG is not set */
  146. /* SOC_STM32F429ZI is not set */
  147. /* SOC_STM32F429BG is not set */
  148. /* SOC_STM32F429BI is not set */
  149. /* SOC_STM32F429NG is not set */
  150. /* SOC_STM32F429NI is not set */
  151. /* SOC_STM32F429IG is not set */
  152. /* SOC_STM32F429II is not set */
  153. /* SOC_STM32F439VG is not set */
  154. /* SOC_STM32F439VI is not set */
  155. /* SOC_STM32F439ZG is not set */
  156. /* SOC_STM32F439ZI is not set */
  157. /* SOC_STM32F439BG is not set */
  158. /* SOC_STM32F439BI is not set */
  159. /* SOC_STM32F439NG is not set */
  160. /* SOC_STM32F439NI is not set */
  161. /* SOC_STM32F439IG is not set */
  162. /* SOC_STM32F439II is not set */
  163. /* SOC_STM32F401CB is not set */
  164. /* SOC_STM32F401CC is not set */
  165. /* SOC_STM32F401RB is not set */
  166. /* SOC_STM32F401RC is not set */
  167. /* SOC_STM32F401VB is not set */
  168. /* SOC_STM32F401VC is not set */
  169. /* SOC_STM32F401CD is not set */
  170. /* SOC_STM32F401RD is not set */
  171. /* SOC_STM32F401VD is not set */
  172. /* SOC_STM32F401CE is not set */
  173. /* SOC_STM32F401RE is not set */
  174. /* SOC_STM32F401VE is not set */
  175. /* SOC_STM32F410T8 is not set */
  176. /* SOC_STM32F410TB is not set */
  177. /* SOC_STM32F410C8 is not set */
  178. /* SOC_STM32F410CB is not set */
  179. /* SOC_STM32F410R8 is not set */
  180. /* SOC_STM32F410RB is not set */
  181. /* SOC_STM32F411CC is not set */
  182. /* SOC_STM32F411RC is not set */
  183. /* SOC_STM32F411VC is not set */
  184. /* SOC_STM32F411CE is not set */
  185. /* SOC_STM32F411RE is not set */
  186. /* SOC_STM32F411VE is not set */
  187. /* SOC_STM32F446MC is not set */
  188. /* SOC_STM32F446ME is not set */
  189. /* SOC_STM32F446RC is not set */
  190. /* SOC_STM32F446RE is not set */
  191. /* SOC_STM32F446VC is not set */
  192. /* SOC_STM32F446VE is not set */
  193. /* SOC_STM32F446ZC is not set */
  194. /* SOC_STM32F446ZE is not set */
  195. /* SOC_STM32F469AI is not set */
  196. /* SOC_STM32F469II is not set */
  197. /* SOC_STM32F469BI is not set */
  198. /* SOC_STM32F469NI is not set */
  199. /* SOC_STM32F469AG is not set */
  200. /* SOC_STM32F469IG is not set */
  201. /* SOC_STM32F469BG is not set */
  202. /* SOC_STM32F469NG is not set */
  203. /* SOC_STM32F469AE is not set */
  204. /* SOC_STM32F469IE is not set */
  205. /* SOC_STM32F469BE is not set */
  206. /* SOC_STM32F469NE is not set */
  207. /* SOC_STM32F479AI is not set */
  208. /* SOC_STM32F479II is not set */
  209. /* SOC_STM32F479BI is not set */
  210. /* SOC_STM32F479NI is not set */
  211. /* SOC_STM32F479AG is not set */
  212. /* SOC_STM32F479IG is not set */
  213. /* SOC_STM32F479BG is not set */
  214. /* SOC_STM32F479NG is not set */
  215. /* SOC_STM32F412CEU is not set */
  216. /* SOC_STM32F412CGU is not set */
  217. /* SOC_STM32F412ZET is not set */
  218. /* SOC_STM32F412ZGT is not set */
  219. /* SOC_STM32F412ZEJ is not set */
  220. /* SOC_STM32F412ZGJ is not set */
  221. /* SOC_STM32F412VET is not set */
  222. /* SOC_STM32F412VGT is not set */
  223. /* SOC_STM32F412VEH is not set */
  224. /* SOC_STM32F412VGH is not set */
  225. /* SOC_STM32F412RET is not set */
  226. /* SOC_STM32F412RGT is not set */
  227. /* SOC_STM32F412REY is not set */
  228. /* SOC_STM32F412RGY is not set */
  229. /* SOC_STM32F413CH is not set */
  230. /* SOC_STM32F413MH is not set */
  231. /* SOC_STM32F413RH is not set */
  232. /* SOC_STM32F413VH is not set */
  233. /* SOC_STM32F413ZH is not set */
  234. /* SOC_STM32F413CG is not set */
  235. /* SOC_STM32F413MG is not set */
  236. /* SOC_STM32F413RG is not set */
  237. /* SOC_STM32F413VG is not set */
  238. /* SOC_STM32F413ZG is not set */
  239. /* SOC_STM32F423CH is not set */
  240. /* SOC_STM32F423RH is not set */
  241. /* SOC_STM32F423VH is not set */
  242. /* SOC_STM32F423ZH is not set */
  243. /* RT_USING_HSI is not set */
  244. #define RT_HSE_VALUE 8000000
  245. #define RT_HSE_HCLK 168000000
  246. /* RT_USING_UART1 is not set */
  247. #define RT_USING_UART2
  248. /* RT_USING_UART6 is not set */
  249. #endif