rtconfig.h 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  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_MEMHEAP
  33. #define RT_MEMHEAP_FAST_MODE
  34. #define RT_USING_SMALL_MEM_AS_HEAP
  35. #define RT_USING_HEAP
  36. /* end of Memory Management */
  37. #define RT_USING_DEVICE
  38. #define RT_USING_CONSOLE
  39. #define RT_CONSOLEBUF_SIZE 512
  40. #define RT_CONSOLE_DEVICE_NAME "uart0"
  41. #define RT_VER_NUM 0x50100
  42. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  43. /* end of RT-Thread Kernel */
  44. #define RT_USING_HW_ATOMIC
  45. #define ARCH_ARM
  46. #define ARCH_ARM_CORTEX_R
  47. #define ARCH_ARM_CORTEX_R52
  48. /* RT-Thread Components */
  49. #define RT_USING_COMPONENTS_INIT
  50. #define RT_USING_USER_MAIN
  51. #define RT_MAIN_THREAD_STACK_SIZE 2048
  52. #define RT_MAIN_THREAD_PRIORITY 10
  53. #define RT_USING_MSH
  54. #define RT_USING_FINSH
  55. #define FINSH_USING_MSH
  56. #define FINSH_THREAD_NAME "tshell"
  57. #define FINSH_THREAD_PRIORITY 20
  58. #define FINSH_THREAD_STACK_SIZE 4096
  59. #define FINSH_USING_HISTORY
  60. #define FINSH_HISTORY_LINES 5
  61. #define FINSH_USING_SYMTAB
  62. #define FINSH_CMD_SIZE 80
  63. #define MSH_USING_BUILT_IN_COMMANDS
  64. #define FINSH_USING_DESCRIPTION
  65. #define FINSH_ARG_MAX 10
  66. #define FINSH_USING_OPTION_COMPLETION
  67. /* DFS: device virtual file system */
  68. #define RT_USING_DFS
  69. #define DFS_USING_POSIX
  70. #define DFS_USING_WORKDIR
  71. #define DFS_FD_MAX 16
  72. #define RT_USING_DFS_V1
  73. #define DFS_FILESYSTEMS_MAX 4
  74. #define DFS_FILESYSTEM_TYPES_MAX 4
  75. #define RT_USING_DFS_DEVFS
  76. #define RT_USING_DFS_RAMFS
  77. /* end of DFS: device virtual file system */
  78. /* Device Drivers */
  79. #define RT_USING_DEVICE_IPC
  80. #define RT_UNAMED_PIPE_NUMBER 64
  81. #define RT_USING_SYSTEM_WORKQUEUE
  82. #define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
  83. #define RT_SYSTEM_WORKQUEUE_PRIORITY 23
  84. #define RT_USING_SERIAL
  85. #define RT_USING_SERIAL_V2
  86. #define RT_SERIAL_USING_DMA
  87. #define RT_USING_PIN
  88. #define RT_USING_KTIME
  89. /* Using USB */
  90. /* end of Using USB */
  91. /* end of Device Drivers */
  92. /* C/C++ and POSIX layer */
  93. /* ISO-ANSI C layer */
  94. /* Timezone and Daylight Saving Time */
  95. /* end of Timezone and Daylight Saving Time */
  96. /* end of ISO-ANSI C layer */
  97. /* POSIX (Portable Operating System Interface) layer */
  98. /* Interprocess Communication (IPC) */
  99. /* Socket is in the 'Network' category */
  100. /* end of Interprocess Communication (IPC) */
  101. /* end of POSIX (Portable Operating System Interface) layer */
  102. /* end of C/C++ and POSIX layer */
  103. /* Network */
  104. #define RT_USING_SAL
  105. #define SAL_INTERNET_CHECK
  106. /* Docking with protocol stacks */
  107. #define SAL_USING_LWIP
  108. /* end of Docking with protocol stacks */
  109. #define SAL_USING_POSIX
  110. #define RT_USING_NETDEV
  111. #define NETDEV_USING_IFCONFIG
  112. #define NETDEV_USING_PING
  113. #define NETDEV_USING_NETSTAT
  114. #define NETDEV_USING_AUTO_DEFAULT
  115. #define NETDEV_IPV4 1
  116. #define NETDEV_IPV6 0
  117. #define RT_USING_LWIP
  118. #define RT_USING_LWIP203
  119. #define RT_USING_LWIP_VER_NUM 0x20003
  120. #define RT_LWIP_MEM_ALIGNMENT 4
  121. #define RT_LWIP_IGMP
  122. #define RT_LWIP_ICMP
  123. #define RT_LWIP_SNMP
  124. #define RT_LWIP_DNS
  125. /* Static IPv4 Address */
  126. #define RT_LWIP_IPADDR "192.168.10.100"
  127. #define RT_LWIP_GWADDR "192.168.10.1"
  128. #define RT_LWIP_MSKADDR "255.255.255.0"
  129. /* end of Static IPv4 Address */
  130. #define RT_LWIP_UDP
  131. #define RT_LWIP_TCP
  132. #define RT_LWIP_RAW
  133. #define RT_MEMP_NUM_NETCONN 8
  134. #define RT_LWIP_PBUF_NUM 16
  135. #define RT_LWIP_RAW_PCB_NUM 4
  136. #define RT_LWIP_UDP_PCB_NUM 4
  137. #define RT_LWIP_TCP_PCB_NUM 4
  138. #define RT_LWIP_TCP_SEG_NUM 40
  139. #define RT_LWIP_TCP_SND_BUF 8196
  140. #define RT_LWIP_TCP_WND 8196
  141. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  142. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
  143. #define RT_LWIP_TCPTHREAD_STACKSIZE 4096
  144. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  145. #define RT_LWIP_ETHTHREAD_STACKSIZE 1024
  146. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
  147. #define LWIP_NETIF_STATUS_CALLBACK 1
  148. #define LWIP_NETIF_LINK_CALLBACK 1
  149. #define RT_LWIP_NETIF_NAMESIZE 6
  150. #define SO_REUSE 1
  151. #define LWIP_SO_RCVTIMEO 1
  152. #define LWIP_SO_SNDTIMEO 1
  153. #define LWIP_SO_RCVBUF 1
  154. #define LWIP_SO_LINGER 0
  155. #define LWIP_NETIF_LOOPBACK 0
  156. #define RT_LWIP_STATS
  157. #define RT_LWIP_USING_PING
  158. #define RT_LWIP_ENABLE_USER_HOOKS
  159. /* end of Network */
  160. /* Memory protection */
  161. /* end of Memory protection */
  162. /* Utilities */
  163. /* end of Utilities */
  164. /* end of RT-Thread Components */
  165. /* RT-Thread Utestcases */
  166. /* end of RT-Thread Utestcases */
  167. /* RT-Thread online packages */
  168. /* IoT - internet of things */
  169. /* Wi-Fi */
  170. /* Marvell WiFi */
  171. /* end of Marvell WiFi */
  172. /* Wiced WiFi */
  173. /* end of Wiced WiFi */
  174. /* CYW43012 WiFi */
  175. /* end of CYW43012 WiFi */
  176. /* BL808 WiFi */
  177. /* end of BL808 WiFi */
  178. /* CYW43439 WiFi */
  179. /* end of CYW43439 WiFi */
  180. /* end of Wi-Fi */
  181. /* IoT Cloud */
  182. /* end of IoT Cloud */
  183. #define PKG_USING_PNET
  184. #define PKG_PENT_NETIF_NAME
  185. #define APP_DEFAULT_ETHERNET_INTERFACE "e00"
  186. #define PKG_PNET_BOARD_CONFIG
  187. #define PNET_LED_PIN "0x0209"
  188. #define PNET_USER_KEY "0x0005"
  189. #define PKG_PENT_FILESYSTEM_CONFIG
  190. #define PNET_USING_RAMFS
  191. #define PNET_RAMFS_SIZE 8192
  192. #define PKG_PNET_NET_CONFIG
  193. #define PKG_USING_PNET_LATEST
  194. /* end of IoT - internet of things */
  195. /* security packages */
  196. /* end of security packages */
  197. /* language packages */
  198. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  199. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  200. /* XML: Extensible Markup Language */
  201. /* end of XML: Extensible Markup Language */
  202. /* end of language packages */
  203. /* multimedia packages */
  204. /* LVGL: powerful and easy-to-use embedded GUI library */
  205. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  206. /* u8g2: a monochrome graphic library */
  207. /* end of u8g2: a monochrome graphic library */
  208. /* end of multimedia packages */
  209. /* tools packages */
  210. /* end of tools packages */
  211. /* system packages */
  212. /* enhanced kernel services */
  213. /* end of enhanced kernel services */
  214. /* acceleration: Assembly language or algorithmic acceleration packages */
  215. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  216. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  217. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  218. /* Micrium: Micrium software products porting for RT-Thread */
  219. /* end of Micrium: Micrium software products porting for RT-Thread */
  220. /* end of system packages */
  221. /* peripheral libraries and drivers */
  222. /* HAL & SDK Drivers */
  223. /* STM32 HAL & SDK Drivers */
  224. /* end of STM32 HAL & SDK Drivers */
  225. /* Infineon HAL Packages */
  226. /* end of Infineon HAL Packages */
  227. /* Kendryte SDK */
  228. /* end of Kendryte SDK */
  229. /* WCH HAL & SDK Drivers */
  230. /* end of WCH HAL & SDK Drivers */
  231. /* AT32 HAL & SDK Drivers */
  232. /* end of AT32 HAL & SDK Drivers */
  233. /* HC32 DDL Drivers */
  234. /* end of HC32 DDL Drivers */
  235. /* NXP HAL & SDK Drivers */
  236. /* end of NXP HAL & SDK Drivers */
  237. /* NUVOTON Drivers */
  238. /* end of NUVOTON Drivers */
  239. /* end of HAL & SDK Drivers */
  240. /* sensors drivers */
  241. /* end of sensors drivers */
  242. /* touch drivers */
  243. /* end of touch drivers */
  244. /* end of peripheral libraries and drivers */
  245. /* AI packages */
  246. /* end of AI packages */
  247. /* Signal Processing and Control Algorithm Packages */
  248. /* end of Signal Processing and Control Algorithm Packages */
  249. /* miscellaneous packages */
  250. /* project laboratory */
  251. /* end of project laboratory */
  252. /* samples: kernel and components samples */
  253. /* end of samples: kernel and components samples */
  254. /* entertainment: terminal games and other interesting software packages */
  255. /* end of entertainment: terminal games and other interesting software packages */
  256. /* end of miscellaneous packages */
  257. /* Arduino libraries */
  258. /* Projects and Demos */
  259. /* end of Projects and Demos */
  260. /* Sensors */
  261. /* end of Sensors */
  262. /* Display */
  263. /* end of Display */
  264. /* Timing */
  265. /* end of Timing */
  266. /* Data Processing */
  267. /* end of Data Processing */
  268. /* Data Storage */
  269. /* Communication */
  270. /* end of Communication */
  271. /* Device Control */
  272. /* end of Device Control */
  273. /* Other */
  274. /* end of Other */
  275. /* Signal IO */
  276. /* end of Signal IO */
  277. /* Uncategorized */
  278. /* end of Arduino libraries */
  279. /* end of RT-Thread online packages */
  280. #define SOC_FAMILY_RENESAS_RZ
  281. #define SOC_SERIES_R9A07G0
  282. /* Hardware Drivers Config */
  283. #define SOC_R9A07G084
  284. /* Onboard Peripheral Drivers */
  285. /* On-chip Peripheral Drivers */
  286. #define BSP_USING_GPIO
  287. #define BSP_USING_UART
  288. #define BSP_USING_UART0
  289. #define BSP_UART0_RX_BUFSIZE 256
  290. #define BSP_UART0_TX_BUFSIZE 0
  291. #define BSP_USING_ETH
  292. /* end of On-chip Peripheral Drivers */
  293. /* Board extended module Drivers */
  294. /* end of Board extended module Drivers */
  295. /* end of Hardware Drivers Config */
  296. #endif