rtconfig.h 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
  4. /* RT-Thread Kernel */
  5. #define RT_NAME_MAX 8
  6. #define RT_ALIGN_SIZE 4
  7. #define RT_THREAD_PRIORITY_32
  8. #define RT_THREAD_PRIORITY_MAX 32
  9. #define RT_TICK_PER_SECOND 1000
  10. #define RT_USING_OVERFLOW_CHECK
  11. #define RT_USING_HOOK
  12. #define RT_USING_IDLE_HOOK
  13. #define RT_IDLE_HOOK_LIST_SIZE 4
  14. #define IDLE_THREAD_STACK_SIZE 1024
  15. #define RT_USING_TIMER_SOFT
  16. #define RT_TIMER_THREAD_PRIO 4
  17. #define RT_TIMER_THREAD_STACK_SIZE 512
  18. #define RT_DEBUG
  19. #define RT_DEBUG_COLOR
  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. /* end of Inter-Thread communication */
  27. /* Memory Management */
  28. #define RT_USING_MEMPOOL
  29. #define RT_USING_SMALL_MEM
  30. #define RT_USING_HEAP
  31. /* end of Memory Management */
  32. /* Kernel Device Object */
  33. #define RT_USING_DEVICE
  34. #define RT_USING_CONSOLE
  35. #define RT_CONSOLEBUF_SIZE 256
  36. #define RT_CONSOLE_DEVICE_NAME "uart1"
  37. /* end of Kernel Device Object */
  38. #define RT_VER_NUM 0x40003
  39. /* end of RT-Thread Kernel */
  40. #define ARCH_ARM
  41. #define RT_USING_CPU_FFS
  42. #define ARCH_ARM_CORTEX_M
  43. #define ARCH_ARM_CORTEX_M4
  44. /* RT-Thread Components */
  45. #define RT_USING_COMPONENTS_INIT
  46. #define RT_USING_USER_MAIN
  47. #define RT_MAIN_THREAD_STACK_SIZE 2048
  48. #define RT_MAIN_THREAD_PRIORITY 10
  49. /* C++ features */
  50. /* end of C++ features */
  51. /* Command shell */
  52. #define RT_USING_FINSH
  53. #define FINSH_THREAD_NAME "tshell"
  54. #define FINSH_USING_HISTORY
  55. #define FINSH_HISTORY_LINES 5
  56. #define FINSH_USING_SYMTAB
  57. #define FINSH_USING_DESCRIPTION
  58. #define FINSH_THREAD_PRIORITY 20
  59. #define FINSH_THREAD_STACK_SIZE 4096
  60. #define FINSH_CMD_SIZE 80
  61. #define FINSH_USING_MSH
  62. #define FINSH_USING_MSH_DEFAULT
  63. #define FINSH_USING_MSH_ONLY
  64. #define FINSH_ARG_MAX 10
  65. /* end of Command shell */
  66. /* Device virtual file system */
  67. /* end of Device virtual file system */
  68. /* Device Drivers */
  69. #define RT_USING_DEVICE_IPC
  70. #define RT_PIPE_BUFSZ 512
  71. #define RT_USING_SERIAL
  72. #define RT_SERIAL_RB_BUFSZ 1280
  73. #define RT_USING_PIN
  74. #define RT_USING_ADC
  75. #define RT_USING_SPI
  76. #define RT_USING_SFUD
  77. #define RT_SFUD_USING_SFDP
  78. #define RT_SFUD_USING_FLASH_INFO_TABLE
  79. #define RT_SFUD_SPI_MAX_HZ 50000000
  80. #define RT_USING_WDT
  81. /* Using USB */
  82. /* end of Using USB */
  83. /* end of Device Drivers */
  84. /* POSIX layer and C standard library */
  85. #define RT_USING_LIBC
  86. /* end of POSIX layer and C standard library */
  87. /* Network */
  88. /* Socket abstraction layer */
  89. /* end of Socket abstraction layer */
  90. /* Network interface device */
  91. /* end of Network interface device */
  92. /* light weight TCP/IP stack */
  93. /* end of light weight TCP/IP stack */
  94. /* AT commands */
  95. /* end of AT commands */
  96. /* end of Network */
  97. /* VBUS(Virtual Software BUS) */
  98. /* end of VBUS(Virtual Software BUS) */
  99. /* Utilities */
  100. /* end of Utilities */
  101. /* end of RT-Thread Components */
  102. /* RT-Thread online packages */
  103. /* IoT - internet of things */
  104. /* Wi-Fi */
  105. /* Marvell WiFi */
  106. /* end of Marvell WiFi */
  107. /* Wiced WiFi */
  108. /* end of Wiced WiFi */
  109. /* CYW43012 WiFi */
  110. /* end of CYW43012 WiFi */
  111. /* BL808 WiFi */
  112. /* end of BL808 WiFi */
  113. /* CYW43439 WiFi */
  114. /* end of CYW43439 WiFi */
  115. /* end of Wi-Fi */
  116. /* IoT Cloud */
  117. /* end of IoT Cloud */
  118. /* end of IoT - internet of things */
  119. /* security packages */
  120. /* end of security packages */
  121. /* language packages */
  122. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  123. #define PKG_USING_CJSON
  124. #define PKG_USING_CJSON_V1717
  125. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  126. /* XML: Extensible Markup Language */
  127. /* end of XML: Extensible Markup Language */
  128. /* end of language packages */
  129. /* multimedia packages */
  130. /* LVGL: powerful and easy-to-use embedded GUI library */
  131. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  132. /* u8g2: a monochrome graphic library */
  133. /* end of u8g2: a monochrome graphic library */
  134. /* end of multimedia packages */
  135. /* tools packages */
  136. #define PKG_USING_EASYFLASH
  137. #define PKG_EASYFLASH_ENV
  138. #define PKG_EASYFLASH_LOG
  139. #define PKG_EASYFLASH_LOG_AREA_SIZE 0
  140. #define PKG_EASYFLASH_ERASE_GRAN 4096
  141. #define PKG_EASYFLASH_WRITE_GRAN_1BIT
  142. #define PKG_EASYFLASH_WRITE_GRAN 1
  143. #define PKG_EASYFLASH_START_ADDR 0
  144. #define PKG_USING_EASYFLASH_V410
  145. #define PKG_EASYFLASH_VER_NUM 0x40100
  146. /* end of tools packages */
  147. /* system packages */
  148. /* enhanced kernel services */
  149. /* end of enhanced kernel services */
  150. /* acceleration: Assembly language or algorithmic acceleration packages */
  151. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  152. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  153. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  154. /* Micrium: Micrium software products porting for RT-Thread */
  155. /* end of Micrium: Micrium software products porting for RT-Thread */
  156. #define PKG_USING_FAL
  157. #define FAL_DEBUG_CONFIG
  158. #define FAL_DEBUG 1
  159. #define FAL_PART_HAS_TABLE_CFG
  160. #define FAL_USING_SFUD_PORT
  161. #define FAL_USING_NOR_FLASH_DEV_NAME "norflash0"
  162. #define PKG_USING_FAL_V10000
  163. #define PKG_FAL_VER_NUM 0x10000
  164. #define PKG_USING_SYSWATCH
  165. #define SYSWATCH_EXCEPT_RESOLVE_MODE_2
  166. #define SYSWATCH_EXCEPT_RESOLVE_MODE 2
  167. #define SYSWATCH_EXCEPT_TIMEOUT 60
  168. #define SYSWATCH_EXCEPT_CONFIRM_TMO 15
  169. #define SYSWATCH_EXCEPT_RESUME_DLY 15
  170. #define SYSWATCH_THREAD_PRIO 0
  171. #define SYSWATCH_THREAD_STK_SIZE 2048
  172. #define SYSWATCH_THREAD_NAME "syswatch"
  173. #define SYSWATCH_WDT_NAME "wdt"
  174. #define SYSWATCH_WDT_TIMEOUT 5
  175. #define PKG_USING_SYSWATCH_LATEST_VERSION
  176. /* end of system packages */
  177. /* peripheral libraries and drivers */
  178. /* HAL & SDK Drivers */
  179. /* STM32 HAL & SDK Drivers */
  180. /* end of STM32 HAL & SDK Drivers */
  181. /* Infineon HAL Packages */
  182. /* end of Infineon HAL Packages */
  183. /* Kendryte SDK */
  184. /* end of Kendryte SDK */
  185. /* WCH HAL & SDK Drivers */
  186. /* end of WCH HAL & SDK Drivers */
  187. /* end of HAL & SDK Drivers */
  188. /* sensors drivers */
  189. /* end of sensors drivers */
  190. /* touch drivers */
  191. /* end of touch drivers */
  192. /* end of peripheral libraries and drivers */
  193. /* AI packages */
  194. /* end of AI packages */
  195. /* Signal Processing and Control Algorithm Packages */
  196. /* end of Signal Processing and Control Algorithm Packages */
  197. /* miscellaneous packages */
  198. /* project laboratory */
  199. /* end of project laboratory */
  200. /* samples: kernel and components samples */
  201. /* end of samples: kernel and components samples */
  202. /* entertainment: terminal games and other interesting software packages */
  203. /* end of entertainment: terminal games and other interesting software packages */
  204. /* end of miscellaneous packages */
  205. /* Arduino libraries */
  206. /* Projects and Demos */
  207. /* end of Projects and Demos */
  208. /* Sensors */
  209. /* end of Sensors */
  210. /* Display */
  211. /* end of Display */
  212. /* Timing */
  213. /* end of Timing */
  214. /* Data Processing */
  215. /* end of Data Processing */
  216. /* Data Storage */
  217. /* Communication */
  218. /* end of Communication */
  219. /* Device Control */
  220. /* end of Device Control */
  221. /* Other */
  222. /* end of Other */
  223. /* Signal IO */
  224. /* end of Signal IO */
  225. /* Uncategorized */
  226. /* end of Arduino libraries */
  227. /* end of RT-Thread online packages */
  228. /* samples: kernel and components samples */
  229. /* end of samples: kernel and components samples */
  230. #define RT_STUDIO_BUILT_IN
  231. #endif