rtconfig.h 6.8 KB

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