rtconfig.h 8.4 KB

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