rtconfig.h 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  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. /* end of DFS: device virtual file system */
  67. /* Device Drivers */
  68. #define RT_USING_DEVICE_IPC
  69. #define RT_UNAMED_PIPE_NUMBER 64
  70. #define RT_USING_SYSTEM_WORKQUEUE
  71. #define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
  72. #define RT_SYSTEM_WORKQUEUE_PRIORITY 23
  73. #define RT_USING_SERIAL
  74. #define RT_USING_SERIAL_V2
  75. #define RT_SERIAL_USING_DMA
  76. #define RT_USING_CAN
  77. #define RT_CAN_USING_CANFD
  78. #define RT_USING_I2C
  79. #define RT_USING_I2C_BITOPS
  80. #define RT_USING_ADC
  81. #define RT_USING_RTC
  82. #define RT_USING_ALARM
  83. #define RT_USING_PIN
  84. /* Using USB */
  85. /* end of Using USB */
  86. /* end of Device Drivers */
  87. /* C/C++ and POSIX layer */
  88. /* ISO-ANSI C layer */
  89. /* Timezone and Daylight Saving Time */
  90. /* end of Timezone and Daylight Saving Time */
  91. /* end of ISO-ANSI C layer */
  92. /* POSIX (Portable Operating System Interface) layer */
  93. /* Interprocess Communication (IPC) */
  94. /* Socket is in the 'Network' category */
  95. /* end of Interprocess Communication (IPC) */
  96. /* end of POSIX (Portable Operating System Interface) layer */
  97. /* end of C/C++ and POSIX layer */
  98. /* Network */
  99. #define RT_USING_SAL
  100. #define SAL_INTERNET_CHECK
  101. /* Docking with protocol stacks */
  102. #define SAL_USING_LWIP
  103. /* end of Docking with protocol stacks */
  104. #define SAL_SOCKETS_NUM 16
  105. #define RT_USING_NETDEV
  106. #define NETDEV_USING_IFCONFIG
  107. #define NETDEV_USING_PING
  108. #define NETDEV_USING_NETSTAT
  109. #define NETDEV_USING_AUTO_DEFAULT
  110. #define NETDEV_IPV4 1
  111. #define NETDEV_IPV6 0
  112. #define RT_USING_LWIP
  113. #define RT_USING_LWIP203
  114. #define RT_USING_LWIP_VER_NUM 0x20003
  115. #define RT_LWIP_MEM_ALIGNMENT 4
  116. #define RT_LWIP_IGMP
  117. #define RT_LWIP_ICMP
  118. #define RT_LWIP_DNS
  119. #define RT_LWIP_DHCP
  120. #define IP_SOF_BROADCAST 1
  121. #define IP_SOF_BROADCAST_RECV 1
  122. /* Static IPv4 Address */
  123. #define RT_LWIP_IPADDR "192.168.1.30"
  124. #define RT_LWIP_GWADDR "192.168.1.1"
  125. #define RT_LWIP_MSKADDR "255.255.255.0"
  126. /* end of Static IPv4 Address */
  127. #define RT_LWIP_UDP
  128. #define RT_LWIP_TCP
  129. #define RT_LWIP_RAW
  130. #define RT_MEMP_NUM_NETCONN 8
  131. #define RT_LWIP_PBUF_NUM 16
  132. #define RT_LWIP_RAW_PCB_NUM 4
  133. #define RT_LWIP_UDP_PCB_NUM 4
  134. #define RT_LWIP_TCP_PCB_NUM 4
  135. #define RT_LWIP_TCP_SEG_NUM 40
  136. #define RT_LWIP_TCP_SND_BUF 8196
  137. #define RT_LWIP_TCP_WND 8196
  138. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  139. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
  140. #define RT_LWIP_TCPTHREAD_STACKSIZE 1024
  141. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  142. #define RT_LWIP_ETHTHREAD_STACKSIZE 1024
  143. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
  144. #define LWIP_NETIF_STATUS_CALLBACK 1
  145. #define LWIP_NETIF_LINK_CALLBACK 1
  146. #define RT_LWIP_NETIF_NAMESIZE 6
  147. #define SO_REUSE 1
  148. #define LWIP_SO_RCVTIMEO 1
  149. #define LWIP_SO_SNDTIMEO 1
  150. #define LWIP_SO_RCVBUF 1
  151. #define LWIP_SO_LINGER 0
  152. #define LWIP_NETIF_LOOPBACK 0
  153. #define RT_LWIP_USING_PING
  154. /* end of Network */
  155. /* Memory protection */
  156. /* end of Memory protection */
  157. /* Utilities */
  158. /* end of Utilities */
  159. /* end of RT-Thread Components */
  160. /* RT-Thread Utestcases */
  161. /* end of RT-Thread Utestcases */
  162. /* RT-Thread online packages */
  163. /* IoT - internet of things */
  164. /* Wi-Fi */
  165. /* Marvell WiFi */
  166. /* end of Marvell WiFi */
  167. /* Wiced WiFi */
  168. /* end of Wiced WiFi */
  169. /* CYW43012 WiFi */
  170. /* end of CYW43012 WiFi */
  171. /* BL808 WiFi */
  172. /* end of BL808 WiFi */
  173. /* CYW43439 WiFi */
  174. /* end of CYW43439 WiFi */
  175. /* end of Wi-Fi */
  176. /* IoT Cloud */
  177. /* end of IoT Cloud */
  178. /* end of IoT - internet of things */
  179. /* security packages */
  180. /* end of security packages */
  181. /* language packages */
  182. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  183. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  184. /* XML: Extensible Markup Language */
  185. /* end of XML: Extensible Markup Language */
  186. /* end of language packages */
  187. /* multimedia packages */
  188. /* LVGL: powerful and easy-to-use embedded GUI library */
  189. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  190. /* u8g2: a monochrome graphic library */
  191. /* end of u8g2: a monochrome graphic library */
  192. /* end of multimedia packages */
  193. /* tools packages */
  194. /* end of tools packages */
  195. /* system packages */
  196. /* enhanced kernel services */
  197. /* end of enhanced kernel services */
  198. /* acceleration: Assembly language or algorithmic acceleration packages */
  199. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  200. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  201. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  202. /* Micrium: Micrium software products porting for RT-Thread */
  203. /* end of Micrium: Micrium software products porting for RT-Thread */
  204. /* end of system packages */
  205. /* peripheral libraries and drivers */
  206. /* HAL & SDK Drivers */
  207. /* STM32 HAL & SDK Drivers */
  208. /* end of STM32 HAL & SDK Drivers */
  209. /* Infineon HAL Packages */
  210. /* end of Infineon HAL Packages */
  211. /* Kendryte SDK */
  212. /* end of Kendryte SDK */
  213. /* WCH HAL & SDK Drivers */
  214. /* end of WCH HAL & SDK Drivers */
  215. /* AT32 HAL & SDK Drivers */
  216. /* end of AT32 HAL & SDK Drivers */
  217. /* HC32 DDL Drivers */
  218. /* end of HC32 DDL Drivers */
  219. /* NXP HAL & SDK Drivers */
  220. /* end of NXP HAL & SDK Drivers */
  221. /* NUVOTON Drivers */
  222. /* end of NUVOTON Drivers */
  223. /* end of HAL & SDK Drivers */
  224. /* sensors drivers */
  225. /* end of sensors drivers */
  226. /* touch drivers */
  227. /* end of touch drivers */
  228. #define PKG_USING_AT24CXX
  229. #define PKG_USING_AT24CXX_LATEST_VERSION
  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. /* end of miscellaneous packages */
  243. /* Arduino libraries */
  244. /* Projects and Demos */
  245. /* end of Projects and Demos */
  246. /* Sensors */
  247. /* end of Sensors */
  248. /* Display */
  249. /* end of Display */
  250. /* Timing */
  251. /* end of Timing */
  252. /* Data Processing */
  253. /* end of Data Processing */
  254. /* Data Storage */
  255. /* Communication */
  256. /* end of Communication */
  257. /* Device Control */
  258. /* end of Device Control */
  259. /* Other */
  260. /* end of Other */
  261. /* Signal IO */
  262. /* end of Signal IO */
  263. /* Uncategorized */
  264. /* end of Arduino libraries */
  265. /* end of RT-Thread online packages */
  266. #define SOC_FAMILY_RENESAS_RZ
  267. #define SOC_SERIES_R9A07G0
  268. /* Hardware Drivers Config */
  269. #define SOC_R9A07G084
  270. /* Onboard Peripheral Drivers */
  271. /* On-chip Peripheral Drivers */
  272. #define BSP_USING_GPIO
  273. #define BSP_USING_ONCHIP_RTC
  274. #define BSP_USING_UART
  275. #define BSP_USING_UART0
  276. #define BSP_UART0_RX_BUFSIZE 256
  277. #define BSP_UART0_TX_BUFSIZE 0
  278. #define BSP_USING_UART5
  279. #define BSP_UART5_RX_USING_DMA
  280. #define BSP_UART5_TX_USING_DMA
  281. #define BSP_UART5_RX_BUFSIZE 256
  282. #define BSP_UART5_TX_BUFSIZE 0
  283. #define BSP_USING_ADC
  284. #define BSP_USING_ADC0
  285. #define BSP_USING_ADC1
  286. #define BSP_USING_CANFD
  287. #define BSP_USING_CANFD0
  288. #define BSP_USING_CANFD1
  289. #define BSP_USING_I2C
  290. #define BSP_USING_HW_I2C
  291. #define BSP_USING_HW_I2C0
  292. #define BSP_USING_ETH
  293. /* end of On-chip Peripheral Drivers */
  294. /* Board extended module Drivers */
  295. /* end of Board extended module Drivers */
  296. /* end of Hardware Drivers Config */
  297. #endif