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. /* Static IPv4 Address */
  113. #define RT_LWIP_IPADDR "169.254.212.233"
  114. #define RT_LWIP_GWADDR "169.254.212.187"
  115. #define RT_LWIP_MSKADDR "255.255.255.0"
  116. /* end of Static IPv4 Address */
  117. #define RT_LWIP_UDP
  118. #define RT_LWIP_TCP
  119. #define RT_LWIP_RAW
  120. #define RT_MEMP_NUM_NETCONN 8
  121. #define RT_LWIP_PBUF_NUM 16
  122. #define RT_LWIP_RAW_PCB_NUM 4
  123. #define RT_LWIP_UDP_PCB_NUM 4
  124. #define RT_LWIP_TCP_PCB_NUM 4
  125. #define RT_LWIP_TCP_SEG_NUM 40
  126. #define RT_LWIP_TCP_SND_BUF 8196
  127. #define RT_LWIP_TCP_WND 8196
  128. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  129. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
  130. #define RT_LWIP_TCPTHREAD_STACKSIZE 1024
  131. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  132. #define RT_LWIP_ETHTHREAD_STACKSIZE 1024
  133. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
  134. #define LWIP_NETIF_STATUS_CALLBACK 1
  135. #define LWIP_NETIF_LINK_CALLBACK 1
  136. #define RT_LWIP_NETIF_NAMESIZE 6
  137. #define SO_REUSE 1
  138. #define LWIP_SO_RCVTIMEO 1
  139. #define LWIP_SO_SNDTIMEO 1
  140. #define LWIP_SO_RCVBUF 1
  141. #define LWIP_SO_LINGER 0
  142. #define LWIP_NETIF_LOOPBACK 0
  143. #define RT_LWIP_USING_PING
  144. /* end of Network */
  145. /* Memory protection */
  146. /* end of Memory protection */
  147. /* Utilities */
  148. /* end of Utilities */
  149. /* end of RT-Thread Components */
  150. /* RT-Thread Utestcases */
  151. /* end of RT-Thread Utestcases */
  152. /* RT-Thread online packages */
  153. /* IoT - internet of things */
  154. /* Wi-Fi */
  155. /* Marvell WiFi */
  156. /* end of Marvell WiFi */
  157. /* Wiced WiFi */
  158. /* end of Wiced WiFi */
  159. /* CYW43012 WiFi */
  160. /* end of CYW43012 WiFi */
  161. /* BL808 WiFi */
  162. /* end of BL808 WiFi */
  163. /* CYW43439 WiFi */
  164. /* end of CYW43439 WiFi */
  165. /* end of Wi-Fi */
  166. /* IoT Cloud */
  167. /* end of IoT Cloud */
  168. /* end of IoT - internet of things */
  169. /* security packages */
  170. /* end of security packages */
  171. /* language packages */
  172. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  173. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  174. /* XML: Extensible Markup Language */
  175. /* end of XML: Extensible Markup Language */
  176. /* end of language packages */
  177. /* multimedia packages */
  178. /* LVGL: powerful and easy-to-use embedded GUI library */
  179. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  180. /* u8g2: a monochrome graphic library */
  181. /* end of u8g2: a monochrome graphic library */
  182. /* end of multimedia packages */
  183. /* tools packages */
  184. /* end of tools packages */
  185. /* system packages */
  186. /* enhanced kernel services */
  187. /* end of enhanced kernel services */
  188. /* acceleration: Assembly language or algorithmic acceleration packages */
  189. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  190. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  191. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  192. /* Micrium: Micrium software products porting for RT-Thread */
  193. /* end of Micrium: Micrium software products porting for RT-Thread */
  194. /* end of system packages */
  195. /* peripheral libraries and drivers */
  196. /* HAL & SDK Drivers */
  197. /* STM32 HAL & SDK Drivers */
  198. /* end of STM32 HAL & SDK Drivers */
  199. /* Infineon HAL Packages */
  200. /* end of Infineon HAL Packages */
  201. /* Kendryte SDK */
  202. /* end of Kendryte SDK */
  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. /* end of HAL & SDK Drivers */
  212. /* sensors drivers */
  213. /* end of sensors drivers */
  214. /* touch drivers */
  215. /* end of touch drivers */
  216. /* end of peripheral libraries and drivers */
  217. /* AI packages */
  218. /* end of AI packages */
  219. /* Signal Processing and Control Algorithm Packages */
  220. /* end of Signal Processing and Control Algorithm Packages */
  221. /* miscellaneous packages */
  222. /* project laboratory */
  223. /* end of project laboratory */
  224. /* samples: kernel and components samples */
  225. /* end of samples: kernel and components samples */
  226. /* entertainment: terminal games and other interesting software packages */
  227. /* end of entertainment: terminal games and other interesting software packages */
  228. /* end of miscellaneous packages */
  229. /* Arduino libraries */
  230. /* Projects and Demos */
  231. /* end of Projects and Demos */
  232. /* Sensors */
  233. /* end of Sensors */
  234. /* Display */
  235. /* end of Display */
  236. /* Timing */
  237. /* end of Timing */
  238. /* Data Processing */
  239. /* end of Data Processing */
  240. /* Data Storage */
  241. /* Communication */
  242. /* end of Communication */
  243. /* Device Control */
  244. /* end of Device Control */
  245. /* Other */
  246. /* end of Other */
  247. /* Signal IO */
  248. /* end of Signal IO */
  249. /* Uncategorized */
  250. /* end of Arduino libraries */
  251. /* end of RT-Thread online packages */
  252. #define SOC_FAMILY_RENESAS_RZ
  253. #define SOC_SERIES_R9A07G0
  254. /* Hardware Drivers Config */
  255. #define SOC_R9A07G084
  256. /* Onboard Peripheral Drivers */
  257. #define BSP_USING_ETHERCAT_EOE
  258. /* end of Onboard Peripheral Drivers */
  259. /* On-chip Peripheral Drivers */
  260. #define BSP_USING_GPIO
  261. #define BSP_USING_UART
  262. #define BSP_USING_UART0
  263. #define BSP_UART0_RX_BUFSIZE 256
  264. #define BSP_UART0_TX_BUFSIZE 0
  265. #define BSP_USING_ETH
  266. /* end of On-chip Peripheral Drivers */
  267. /* Board extended module Drivers */
  268. /* end of Board extended module Drivers */
  269. /* end of Hardware Drivers Config */
  270. #endif