rtconfig.h 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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. #define RT_USING_POSIX_FS
  99. #define RT_USING_POSIX_DEVIO
  100. #define RT_USING_POSIX_STDIO
  101. #define RT_USING_POSIX_POLL
  102. #define RT_USING_POSIX_SELECT
  103. #define RT_USING_POSIX_SOCKET
  104. /* Interprocess Communication (IPC) */
  105. /* Socket is in the 'Network' category */
  106. /* end of Interprocess Communication (IPC) */
  107. /* end of POSIX (Portable Operating System Interface) layer */
  108. /* end of C/C++ and POSIX layer */
  109. /* Network */
  110. #define RT_USING_SAL
  111. #define SAL_INTERNET_CHECK
  112. /* Docking with protocol stacks */
  113. #define SAL_USING_LWIP
  114. /* end of Docking with protocol stacks */
  115. #define SAL_USING_POSIX
  116. #define RT_USING_NETDEV
  117. #define NETDEV_USING_IFCONFIG
  118. #define NETDEV_USING_PING
  119. #define NETDEV_USING_NETSTAT
  120. #define NETDEV_USING_AUTO_DEFAULT
  121. #define NETDEV_IPV4 1
  122. #define NETDEV_IPV6 0
  123. #define RT_USING_LWIP
  124. #define RT_USING_LWIP203
  125. #define RT_USING_LWIP_VER_NUM 0x20003
  126. #define RT_LWIP_MEM_ALIGNMENT 4
  127. #define RT_LWIP_IGMP
  128. #define RT_LWIP_ICMP
  129. #define RT_LWIP_SNMP
  130. #define RT_LWIP_DNS
  131. /* Static IPv4 Address */
  132. #define RT_LWIP_IPADDR "192.168.10.100"
  133. #define RT_LWIP_GWADDR "192.168.10.1"
  134. #define RT_LWIP_MSKADDR "255.255.255.0"
  135. /* end of Static IPv4 Address */
  136. #define RT_LWIP_UDP
  137. #define RT_LWIP_TCP
  138. #define RT_LWIP_RAW
  139. #define RT_MEMP_NUM_NETCONN 8
  140. #define RT_LWIP_PBUF_NUM 16
  141. #define RT_LWIP_RAW_PCB_NUM 4
  142. #define RT_LWIP_UDP_PCB_NUM 4
  143. #define RT_LWIP_TCP_PCB_NUM 4
  144. #define RT_LWIP_TCP_SEG_NUM 40
  145. #define RT_LWIP_TCP_SND_BUF 8196
  146. #define RT_LWIP_TCP_WND 8196
  147. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  148. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
  149. #define RT_LWIP_TCPTHREAD_STACKSIZE 4096
  150. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  151. #define RT_LWIP_ETHTHREAD_STACKSIZE 1024
  152. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
  153. #define LWIP_NETIF_STATUS_CALLBACK 1
  154. #define LWIP_NETIF_LINK_CALLBACK 1
  155. #define RT_LWIP_NETIF_NAMESIZE 6
  156. #define SO_REUSE 1
  157. #define LWIP_SO_RCVTIMEO 1
  158. #define LWIP_SO_SNDTIMEO 1
  159. #define LWIP_SO_RCVBUF 1
  160. #define LWIP_SO_LINGER 0
  161. #define LWIP_NETIF_LOOPBACK 0
  162. #define RT_LWIP_STATS
  163. #define RT_LWIP_USING_PING
  164. /* end of Network */
  165. /* Memory protection */
  166. /* end of Memory protection */
  167. /* Utilities */
  168. /* end of Utilities */
  169. /* end of RT-Thread Components */
  170. /* RT-Thread Utestcases */
  171. /* end of RT-Thread Utestcases */
  172. /* RT-Thread online packages */
  173. /* IoT - internet of things */
  174. /* Wi-Fi */
  175. /* Marvell WiFi */
  176. /* end of Marvell WiFi */
  177. /* Wiced WiFi */
  178. /* end of Wiced WiFi */
  179. /* CYW43012 WiFi */
  180. /* end of CYW43012 WiFi */
  181. /* BL808 WiFi */
  182. /* end of BL808 WiFi */
  183. /* CYW43439 WiFi */
  184. /* end of CYW43439 WiFi */
  185. /* end of Wi-Fi */
  186. /* IoT Cloud */
  187. /* end of IoT Cloud */
  188. #define PKG_USING_OPENER
  189. #define PKG_OPENER_HOSTNAME "rtthreaddev"
  190. #define PKG_OPENER_WITH_TRACES
  191. #define PKG_OPENER_TRACE_LEVEL 3
  192. #define PKG_OPENER_ETHERNET_BUFFER_SIZE 512
  193. #define OPENER_DEVICE_VENDOR_ID 1
  194. #define OPENER_DEVICE_TYPE 12
  195. #define OPENER_DEVICE_PRODUCT_CODE 65001
  196. #define OPENER_DEVICE_MAJOR_REVISION 2
  197. #define OPENER_DEVICE_MINOR_REVISION 3
  198. #define OPENER_DEVICE_NAME "OpENer PC"
  199. #define PKG_USING_OPENER_LATEST_VERSION
  200. #define PKG_OPENER_VER_NUM 0x99999
  201. #define PKG_USING_OPENER_PORT
  202. #define PKG_USING_OPENER_PORT_LATEST_VERSION
  203. #define PKG_OPENER_PORT_VER_NUM 0x99999
  204. /* end of IoT - internet of things */
  205. /* security packages */
  206. /* end of security packages */
  207. /* language packages */
  208. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  209. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  210. /* XML: Extensible Markup Language */
  211. /* end of XML: Extensible Markup Language */
  212. /* end of language packages */
  213. /* multimedia packages */
  214. /* LVGL: powerful and easy-to-use embedded GUI library */
  215. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  216. /* u8g2: a monochrome graphic library */
  217. /* end of u8g2: a monochrome graphic library */
  218. /* end of multimedia packages */
  219. /* tools packages */
  220. /* end of tools packages */
  221. /* system packages */
  222. /* enhanced kernel services */
  223. /* end of enhanced kernel services */
  224. /* acceleration: Assembly language or algorithmic acceleration packages */
  225. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  226. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  227. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  228. /* Micrium: Micrium software products porting for RT-Thread */
  229. /* end of Micrium: Micrium software products porting for RT-Thread */
  230. /* end of system packages */
  231. /* peripheral libraries and drivers */
  232. /* HAL & SDK Drivers */
  233. /* STM32 HAL & SDK Drivers */
  234. /* end of STM32 HAL & SDK Drivers */
  235. /* Infineon HAL Packages */
  236. /* end of Infineon HAL Packages */
  237. /* Kendryte SDK */
  238. /* end of Kendryte SDK */
  239. /* WCH HAL & SDK Drivers */
  240. /* end of WCH HAL & SDK Drivers */
  241. /* AT32 HAL & SDK Drivers */
  242. /* end of AT32 HAL & SDK Drivers */
  243. /* HC32 DDL Drivers */
  244. /* end of HC32 DDL Drivers */
  245. /* NXP HAL & SDK Drivers */
  246. /* end of NXP HAL & SDK Drivers */
  247. /* end of HAL & SDK Drivers */
  248. /* sensors drivers */
  249. /* end of sensors drivers */
  250. /* touch drivers */
  251. /* end of touch drivers */
  252. /* end of peripheral libraries and drivers */
  253. /* AI packages */
  254. /* end of AI packages */
  255. /* Signal Processing and Control Algorithm Packages */
  256. /* end of Signal Processing and Control Algorithm Packages */
  257. /* miscellaneous packages */
  258. /* project laboratory */
  259. /* end of project laboratory */
  260. /* samples: kernel and components samples */
  261. /* end of samples: kernel and components samples */
  262. /* entertainment: terminal games and other interesting software packages */
  263. /* end of entertainment: terminal games and other interesting software packages */
  264. /* end of miscellaneous packages */
  265. /* Arduino libraries */
  266. /* Projects and Demos */
  267. /* end of Projects and Demos */
  268. /* Sensors */
  269. /* end of Sensors */
  270. /* Display */
  271. /* end of Display */
  272. /* Timing */
  273. /* end of Timing */
  274. /* Data Processing */
  275. /* end of Data Processing */
  276. /* Data Storage */
  277. /* Communication */
  278. /* end of Communication */
  279. /* Device Control */
  280. /* end of Device Control */
  281. /* Other */
  282. /* end of Other */
  283. /* Signal IO */
  284. /* end of Signal IO */
  285. /* Uncategorized */
  286. /* end of Arduino libraries */
  287. /* end of RT-Thread online packages */
  288. #define SOC_FAMILY_RENESAS_RZ
  289. #define SOC_SERIES_R9A07G0
  290. /* Hardware Drivers Config */
  291. #define SOC_R9A07G084
  292. /* Onboard Peripheral Drivers */
  293. /* On-chip Peripheral Drivers */
  294. #define BSP_USING_GPIO
  295. #define BSP_USING_UART
  296. #define BSP_USING_UART0
  297. #define BSP_UART0_RX_BUFSIZE 256
  298. #define BSP_UART0_TX_BUFSIZE 0
  299. #define BSP_USING_ETH
  300. /* end of On-chip Peripheral Drivers */
  301. /* Board extended module Drivers */
  302. /* end of Board extended module Drivers */
  303. /* end of Hardware Drivers Config */
  304. #endif