rtconfig.h 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  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 256
  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 0x40002
  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_M3
  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. #define RT_USING_DFS
  68. #define DFS_USING_WORKDIR
  69. #define DFS_FILESYSTEMS_MAX 2
  70. #define DFS_FILESYSTEM_TYPES_MAX 2
  71. #define DFS_FD_MAX 16
  72. #define RT_USING_DFS_DEVFS
  73. /* end of Device virtual file system */
  74. /* Device Drivers */
  75. #define RT_USING_DEVICE_IPC
  76. #define RT_PIPE_BUFSZ 512
  77. #define RT_USING_SERIAL
  78. #define RT_SERIAL_USING_DMA
  79. #define RT_SERIAL_RB_BUFSZ 512
  80. #define RT_USING_PIN
  81. #define RT_USING_SPI
  82. #define RT_USING_SFUD
  83. #define RT_SFUD_USING_SFDP
  84. #define RT_SFUD_USING_FLASH_INFO_TABLE
  85. #define RT_SFUD_SPI_MAX_HZ 50000000
  86. #define RT_USING_WDT
  87. /* Using USB */
  88. /* end of Using USB */
  89. /* end of Device Drivers */
  90. /* POSIX layer and C standard library */
  91. /* end of POSIX layer and C standard library */
  92. /* Network */
  93. /* Socket abstraction layer */
  94. /* end of Socket abstraction layer */
  95. /* Network interface device */
  96. /* end of Network interface device */
  97. /* light weight TCP/IP stack */
  98. /* end of light weight TCP/IP stack */
  99. /* AT commands */
  100. /* end of AT commands */
  101. /* end of Network */
  102. /* VBUS(Virtual Software BUS) */
  103. /* end of VBUS(Virtual Software BUS) */
  104. /* Utilities */
  105. #define RT_USING_RYM
  106. #define YMODEM_USING_CRC_TABLE
  107. #define YMODEM_USING_FILE_TRANSFER
  108. /* end of Utilities */
  109. /* end of RT-Thread Components */
  110. /* RT-Thread online packages */
  111. /* IoT - internet of things */
  112. /* Wi-Fi */
  113. /* Marvell WiFi */
  114. /* end of Marvell WiFi */
  115. /* Wiced WiFi */
  116. /* end of Wiced WiFi */
  117. /* CYW43012 WiFi */
  118. /* end of CYW43012 WiFi */
  119. /* BL808 WiFi */
  120. /* end of BL808 WiFi */
  121. /* CYW43439 WiFi */
  122. /* end of CYW43439 WiFi */
  123. /* end of Wi-Fi */
  124. /* IoT Cloud */
  125. /* end of IoT Cloud */
  126. #define PKG_USING_OTA_DOWNLOADER
  127. #define OTA_DOWNLOADER_DEBUG
  128. #define PKG_USING_YMODEM_OTA
  129. #define PKG_USING_OTA_DOWNLOADER_LATEST_VERSION
  130. /* end of IoT - internet of things */
  131. /* security packages */
  132. #define PKG_USING_TINYCRYPT
  133. #define PKG_USING_TINYCRYPT_V100
  134. #define TINY_CRYPT_MD5
  135. #define TINY_CRYPT_BASE64
  136. #define TINY_CRYPT_AES
  137. #define TINY_CRYPT_AES_ROM_TABLES
  138. #define TINY_CRYPT_SHA1
  139. #define TINY_CRYPT_SHA256
  140. /* end of security packages */
  141. /* language packages */
  142. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  143. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  144. /* XML: Extensible Markup Language */
  145. /* end of XML: Extensible Markup Language */
  146. /* end of language packages */
  147. /* multimedia packages */
  148. /* LVGL: powerful and easy-to-use embedded GUI library */
  149. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  150. /* u8g2: a monochrome graphic library */
  151. /* end of u8g2: a monochrome graphic library */
  152. /* end of multimedia packages */
  153. /* tools packages */
  154. #define PKG_USING_EASYFLASH
  155. #define PKG_EASYFLASH_ENV
  156. #define PKG_EASYFLASH_ERASE_GRAN 4096
  157. #define PKG_EASYFLASH_WRITE_GRAN_32BITS
  158. #define PKG_EASYFLASH_WRITE_GRAN 32
  159. #define PKG_EASYFLASH_START_ADDR 0
  160. #define PKG_USING_EASYFLASH_LATEST_VERSION
  161. #define PKG_EASYFLASH_VER_NUM 0x99999
  162. /* end of tools packages */
  163. /* system packages */
  164. /* enhanced kernel services */
  165. /* end of enhanced kernel services */
  166. /* acceleration: Assembly language or algorithmic acceleration packages */
  167. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  168. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  169. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  170. /* Micrium: Micrium software products porting for RT-Thread */
  171. /* end of Micrium: Micrium software products porting for RT-Thread */
  172. #define PKG_USING_FAL
  173. #define FAL_DEBUG_CONFIG
  174. #define FAL_DEBUG 1
  175. #define FAL_PART_HAS_TABLE_CFG
  176. #define FAL_USING_SFUD_PORT
  177. #define FAL_USING_NOR_FLASH_DEV_NAME "w25q16m"
  178. #define PKG_USING_FAL_V00500
  179. #define PKG_FAL_VER_NUM 0x00500
  180. #define PKG_USING_SYSWATCH
  181. #define SYSWATCH_EXCEPT_RESOLVE_MODE_0
  182. #define SYSWATCH_EXCEPT_RESOLVE_MODE 0
  183. #define SYSWATCH_EXCEPT_TIMEOUT 60
  184. #define SYSWATCH_EXCEPT_CONFIRM_TMO 15
  185. #define SYSWATCH_EXCEPT_RESUME_DLY 15
  186. #define SYSWATCH_THREAD_PRIO 0
  187. #define SYSWATCH_THREAD_STK_SIZE 512
  188. #define SYSWATCH_THREAD_NAME "syswatch"
  189. #define SYSWATCH_WDT_NAME "wdt"
  190. #define SYSWATCH_WDT_TIMEOUT 25
  191. #define PKG_USING_SYSWATCH_LATEST_VERSION
  192. /* end of system packages */
  193. /* peripheral libraries and drivers */
  194. /* HAL & SDK Drivers */
  195. /* STM32 HAL & SDK Drivers */
  196. /* end of STM32 HAL & SDK Drivers */
  197. /* Infineon HAL Packages */
  198. /* end of Infineon HAL Packages */
  199. /* Kendryte SDK */
  200. /* end of Kendryte SDK */
  201. /* MM32 HAL & SDK Drivers */
  202. /* end of MM32 HAL & SDK Drivers */
  203. /* WCH HAL & SDK Drivers */
  204. /* end of WCH HAL & SDK Drivers */
  205. /* AT32 HAL & SDK Drivers */
  206. /* end of AT32 HAL & SDK Drivers */
  207. /* HC32 DDL Drivers */
  208. /* end of HC32 DDL Drivers */
  209. /* NXP HAL & SDK Drivers */
  210. /* end of NXP HAL & SDK Drivers */
  211. /* NUVOTON Drivers */
  212. /* end of NUVOTON Drivers */
  213. /* GD32 Drivers */
  214. /* end of GD32 Drivers */
  215. /* HPMicro SDK */
  216. /* end of HPMicro SDK */
  217. /* FT32 HAL & SDK Drivers */
  218. /* end of FT32 HAL & SDK Drivers */
  219. /* NOVOSNS Drivers */
  220. /* end of NOVOSNS Drivers */
  221. /* end of HAL & SDK Drivers */
  222. /* sensors drivers */
  223. /* end of sensors drivers */
  224. /* touch drivers */
  225. /* end of touch drivers */
  226. #define PKG_USING_SIGNAL_LED
  227. #define PKG_USING_SIGNAL_LED_LATEST_VERSION
  228. /* signalLed Options */
  229. /* end of signalLed Options */
  230. /* end of peripheral libraries and drivers */
  231. /* AI packages */
  232. /* end of AI packages */
  233. /* Signal Processing and Control Algorithm Packages */
  234. /* end of Signal Processing and Control Algorithm Packages */
  235. /* miscellaneous packages */
  236. /* project laboratory */
  237. /* end of project laboratory */
  238. /* samples: kernel and components samples */
  239. /* end of samples: kernel and components samples */
  240. /* entertainment: terminal games and other interesting software packages */
  241. /* end of entertainment: terminal games and other interesting software packages */
  242. #define PKG_USING_FASTLZ
  243. #define PKG_USING_FASTLZ_V101
  244. #define PKG_USING_QUICKLZ
  245. #define QLZ_COMPRESSION_LEVEL 3
  246. #define PKG_USING_QUICKLZ_V101
  247. /* end of miscellaneous packages */
  248. /* Arduino libraries */
  249. /* Projects and Demos */
  250. /* end of Projects and Demos */
  251. /* Sensors */
  252. /* end of Sensors */
  253. /* Display */
  254. /* end of Display */
  255. /* Timing */
  256. /* end of Timing */
  257. /* Data Processing */
  258. /* end of Data Processing */
  259. /* Data Storage */
  260. /* Communication */
  261. /* end of Communication */
  262. /* Device Control */
  263. /* end of Device Control */
  264. /* Other */
  265. /* end of Other */
  266. /* Signal IO */
  267. /* end of Signal IO */
  268. /* Uncategorized */
  269. /* end of Arduino libraries */
  270. /* end of RT-Thread online packages */
  271. /* samples: kernel and components samples */
  272. /* end of samples: kernel and components samples */
  273. #define RT_STUDIO_BUILT_IN
  274. #endif