rtconfig.h 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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 16
  6. #define RT_CPUS_NR 1
  7. #define RT_ALIGN_SIZE 8
  8. #define RT_THREAD_PRIORITY_32
  9. #define RT_THREAD_PRIORITY_MAX 32
  10. #define RT_TICK_PER_SECOND 1000
  11. #define RT_USING_OVERFLOW_CHECK
  12. #define RT_USING_HOOK
  13. #define RT_HOOK_USING_FUNC_PTR
  14. #define RT_USING_IDLE_HOOK
  15. #define RT_IDLE_HOOK_LIST_SIZE 4
  16. #define IDLE_THREAD_STACK_SIZE 1024
  17. /* kservice optimization */
  18. /* end of kservice optimization */
  19. #define RT_USING_DEBUG
  20. #define RT_DEBUGING_COLOR
  21. #define RT_DEBUGING_CONTEXT
  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_SMALL_MEM_AS_HEAP
  33. #define RT_USING_HEAP
  34. /* end of Memory Management */
  35. #define RT_USING_DEVICE
  36. #define RT_USING_CONSOLE
  37. #define RT_CONSOLEBUF_SIZE 512
  38. #define RT_CONSOLE_DEVICE_NAME "uart0"
  39. #define RT_VER_NUM 0x50100
  40. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  41. /* end of RT-Thread Kernel */
  42. #define RT_USING_HW_ATOMIC
  43. #define ARCH_ARM
  44. #define ARCH_ARM_CORTEX_R
  45. #define ARCH_ARM_CORTEX_R52
  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. #define RT_USING_MSH
  52. #define RT_USING_FINSH
  53. #define FINSH_USING_MSH
  54. #define FINSH_THREAD_NAME "tshell"
  55. #define FINSH_THREAD_PRIORITY 20
  56. #define FINSH_THREAD_STACK_SIZE 4096
  57. #define FINSH_USING_HISTORY
  58. #define FINSH_HISTORY_LINES 5
  59. #define FINSH_USING_SYMTAB
  60. #define FINSH_CMD_SIZE 80
  61. #define MSH_USING_BUILT_IN_COMMANDS
  62. #define FINSH_USING_DESCRIPTION
  63. #define FINSH_ARG_MAX 10
  64. #define FINSH_USING_OPTION_COMPLETION
  65. /* DFS: device virtual file system */
  66. #define RT_USING_DFS
  67. #define DFS_USING_POSIX
  68. #define DFS_USING_WORKDIR
  69. #define DFS_FD_MAX 16
  70. #define RT_USING_DFS_V1
  71. #define DFS_FILESYSTEMS_MAX 4
  72. #define DFS_FILESYSTEM_TYPES_MAX 4
  73. #define RT_USING_DFS_DEVFS
  74. /* end of DFS: device virtual file system */
  75. #define RT_USING_FAL
  76. #define FAL_DEBUG_CONFIG
  77. #define FAL_DEBUG 1
  78. #define FAL_PART_HAS_TABLE_CFG
  79. /* Device Drivers */
  80. #define RT_USING_DEVICE_IPC
  81. #define RT_UNAMED_PIPE_NUMBER 64
  82. #define RT_USING_SYSTEM_WORKQUEUE
  83. #define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
  84. #define RT_SYSTEM_WORKQUEUE_PRIORITY 23
  85. #define RT_USING_SERIAL
  86. #define RT_USING_SERIAL_V2
  87. #define RT_SERIAL_USING_DMA
  88. #define RT_USING_MTD_NOR
  89. #define RT_USING_PIN
  90. /* Using USB */
  91. /* end of Using USB */
  92. /* end of Device Drivers */
  93. /* C/C++ and POSIX layer */
  94. /* ISO-ANSI C layer */
  95. /* Timezone and Daylight Saving Time */
  96. /* end of Timezone and Daylight Saving Time */
  97. /* end of ISO-ANSI C layer */
  98. /* POSIX (Portable Operating System Interface) layer */
  99. /* Interprocess Communication (IPC) */
  100. /* Socket is in the 'Network' category */
  101. /* end of Interprocess Communication (IPC) */
  102. /* end of POSIX (Portable Operating System Interface) layer */
  103. /* end of C/C++ and POSIX layer */
  104. /* Network */
  105. /* end of Network */
  106. /* Memory protection */
  107. /* end of Memory protection */
  108. /* Utilities */
  109. /* end of Utilities */
  110. /* end of RT-Thread Components */
  111. /* RT-Thread Utestcases */
  112. /* end of RT-Thread Utestcases */
  113. /* RT-Thread online packages */
  114. /* IoT - internet of things */
  115. /* Wi-Fi */
  116. /* Marvell WiFi */
  117. /* end of Marvell WiFi */
  118. /* Wiced WiFi */
  119. /* end of Wiced WiFi */
  120. /* CYW43012 WiFi */
  121. /* end of CYW43012 WiFi */
  122. /* BL808 WiFi */
  123. /* end of BL808 WiFi */
  124. /* CYW43439 WiFi */
  125. /* end of CYW43439 WiFi */
  126. /* end of Wi-Fi */
  127. /* IoT Cloud */
  128. /* end of IoT Cloud */
  129. /* end of IoT - internet of things */
  130. /* security packages */
  131. /* end of security packages */
  132. /* language packages */
  133. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  134. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  135. /* XML: Extensible Markup Language */
  136. /* end of XML: Extensible Markup Language */
  137. /* end of language packages */
  138. /* multimedia packages */
  139. /* LVGL: powerful and easy-to-use embedded GUI library */
  140. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  141. /* u8g2: a monochrome graphic library */
  142. /* end of u8g2: a monochrome graphic library */
  143. /* end of multimedia packages */
  144. /* tools packages */
  145. /* end of tools packages */
  146. /* system packages */
  147. /* enhanced kernel services */
  148. /* end of enhanced kernel services */
  149. /* acceleration: Assembly language or algorithmic acceleration packages */
  150. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  151. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  152. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  153. /* Micrium: Micrium software products porting for RT-Thread */
  154. /* end of Micrium: Micrium software products porting for RT-Thread */
  155. #define PKG_USING_LITTLEFS
  156. #define PKG_USING_LITTLEFS_LATEST_VERSION
  157. #define LFS_READ_SIZE 256
  158. #define LFS_PROG_SIZE 256
  159. #define LFS_BLOCK_SIZE 4096
  160. #define LFS_CACHE_SIZE 256
  161. #define LFS_BLOCK_CYCLES -1
  162. #define LFS_THREADSAFE
  163. #define LFS_LOOKAHEAD_MAX 128
  164. #define RT_DEF_LFS_DRIVERS 1
  165. /* end of system packages */
  166. /* peripheral libraries and drivers */
  167. /* HAL & SDK Drivers */
  168. /* STM32 HAL & SDK Drivers */
  169. /* end of STM32 HAL & SDK Drivers */
  170. /* Infineon HAL Packages */
  171. /* end of Infineon HAL Packages */
  172. /* Kendryte SDK */
  173. /* end of Kendryte SDK */
  174. /* WCH HAL & SDK Drivers */
  175. /* end of WCH HAL & SDK Drivers */
  176. /* AT32 HAL & SDK Drivers */
  177. /* end of AT32 HAL & SDK Drivers */
  178. /* HC32 DDL Drivers */
  179. /* end of HC32 DDL Drivers */
  180. /* NXP HAL & SDK Drivers */
  181. /* end of NXP HAL & SDK Drivers */
  182. /* end of HAL & SDK Drivers */
  183. /* sensors drivers */
  184. /* end of sensors drivers */
  185. /* touch drivers */
  186. /* end of touch drivers */
  187. /* end of peripheral libraries and drivers */
  188. /* AI packages */
  189. /* end of AI packages */
  190. /* Signal Processing and Control Algorithm Packages */
  191. /* end of Signal Processing and Control Algorithm Packages */
  192. /* miscellaneous packages */
  193. /* project laboratory */
  194. /* end of project laboratory */
  195. /* samples: kernel and components samples */
  196. /* end of samples: kernel and components samples */
  197. /* entertainment: terminal games and other interesting software packages */
  198. /* end of entertainment: terminal games and other interesting software packages */
  199. /* end of miscellaneous packages */
  200. /* Arduino libraries */
  201. /* Projects and Demos */
  202. /* end of Projects and Demos */
  203. /* Sensors */
  204. /* end of Sensors */
  205. /* Display */
  206. /* end of Display */
  207. /* Timing */
  208. /* end of Timing */
  209. /* Data Processing */
  210. /* end of Data Processing */
  211. /* Data Storage */
  212. /* Communication */
  213. /* end of Communication */
  214. /* Device Control */
  215. /* end of Device Control */
  216. /* Other */
  217. /* end of Other */
  218. /* Signal IO */
  219. /* end of Signal IO */
  220. /* Uncategorized */
  221. /* end of Arduino libraries */
  222. /* end of RT-Thread online packages */
  223. #define SOC_FAMILY_RENESAS_RZ
  224. #define SOC_SERIES_R9A07G0
  225. /* Hardware Drivers Config */
  226. #define SOC_R9A07G084
  227. /* Onboard Peripheral Drivers */
  228. #define BSP_USING_FILESYSTEM
  229. /* end of Onboard Peripheral Drivers */
  230. /* On-chip Peripheral Drivers */
  231. #define BSP_USING_GPIO
  232. #define BSP_USING_UART
  233. #define BSP_USING_UART0
  234. #define BSP_UART0_RX_BUFSIZE 256
  235. #define BSP_UART0_TX_BUFSIZE 0
  236. /* end of On-chip Peripheral Drivers */
  237. /* Board extended module Drivers */
  238. /* end of Board extended module Drivers */
  239. /* end of Hardware Drivers Config */
  240. #endif