rtconfig.h 7.4 KB

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