rtconfig.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Automatically generated file; DO NOT EDIT. */
  4. /* RT-Thread Configuration */
  5. /* RT-Thread Kernel */
  6. #define RT_NAME_MAX 8
  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 100
  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 256
  17. #define RT_USING_TIMER_SOFT
  18. #define RT_TIMER_THREAD_PRIO 4
  19. #define RT_TIMER_THREAD_STACK_SIZE 512
  20. /* kservice optimization */
  21. #define RT_DEBUG
  22. #define RT_DEBUG_COLOR
  23. /* Inter-Thread communication */
  24. #define RT_USING_SEMAPHORE
  25. #define RT_USING_MUTEX
  26. #define RT_USING_EVENT
  27. #define RT_USING_MAILBOX
  28. #define RT_USING_MESSAGEQUEUE
  29. /* Memory Management */
  30. #define RT_PAGE_MAX_ORDER 11
  31. #define RT_USING_MEMPOOL
  32. #define RT_USING_SMALL_MEM
  33. #define RT_USING_MEMHEAP
  34. #define RT_MEMHEAP_FAST_MODE
  35. #define RT_USING_SMALL_MEM_AS_HEAP
  36. #define RT_USING_HEAP
  37. /* Kernel Device Object */
  38. #define RT_USING_DEVICE
  39. #define RT_USING_CONSOLE
  40. #define RT_CONSOLEBUF_SIZE 128
  41. #define RT_CONSOLE_DEVICE_NAME "uart0"
  42. #define RT_VER_NUM 0x50000
  43. /* RT-Thread Components */
  44. #define RT_USING_COMPONENTS_INIT
  45. #define RT_USING_USER_MAIN
  46. #define RT_MAIN_THREAD_STACK_SIZE 2048
  47. #define RT_MAIN_THREAD_PRIORITY 10
  48. #define RT_USING_MSH
  49. #define RT_USING_FINSH
  50. #define FINSH_USING_MSH
  51. #define FINSH_THREAD_NAME "tshell"
  52. #define FINSH_THREAD_PRIORITY 20
  53. #define FINSH_THREAD_STACK_SIZE 4096
  54. #define FINSH_USING_HISTORY
  55. #define FINSH_HISTORY_LINES 5
  56. #define FINSH_USING_SYMTAB
  57. #define FINSH_CMD_SIZE 80
  58. #define MSH_USING_BUILT_IN_COMMANDS
  59. #define FINSH_USING_DESCRIPTION
  60. #define FINSH_ARG_MAX 10
  61. /* Device Drivers */
  62. #define RT_USING_DEVICE_IPC
  63. #define RT_UNAMED_PIPE_NUMBER 64
  64. #define RT_USING_SERIAL
  65. #define RT_USING_SERIAL_V1
  66. #define RT_SERIAL_USING_DMA
  67. #define RT_SERIAL_RB_BUFSZ 64
  68. /* Using USB */
  69. /* C/C++ and POSIX layer */
  70. #define RT_LIBC_DEFAULT_TIMEZONE 8
  71. /* POSIX (Portable Operating System Interface) layer */
  72. /* Interprocess Communication (IPC) */
  73. /* Socket is in the 'Network' category */
  74. /* Network */
  75. #define NETDEV_USING_PING
  76. #define RT_USING_LWIP
  77. #define RT_USING_LWIP141
  78. #define RT_USING_LWIP_VER_NUM 0x10401
  79. #define RT_LWIP_MEM_ALIGNMENT 4
  80. #define RT_LWIP_ICMP
  81. #define RT_LWIP_DNS
  82. #define RT_LWIP_DHCP
  83. #define IP_SOF_BROADCAST 1
  84. #define IP_SOF_BROADCAST_RECV 1
  85. /* Static IPv4 Address */
  86. #define RT_LWIP_IPADDR "192.168.1.30"
  87. #define RT_LWIP_GWADDR "192.168.1.1"
  88. #define RT_LWIP_MSKADDR "255.255.255.0"
  89. #define RT_LWIP_UDP
  90. #define RT_LWIP_TCP
  91. #define RT_LWIP_RAW
  92. #define RT_MEMP_NUM_NETCONN 8
  93. #define RT_LWIP_PBUF_NUM 16
  94. #define RT_LWIP_RAW_PCB_NUM 4
  95. #define RT_LWIP_UDP_PCB_NUM 4
  96. #define RT_LWIP_TCP_PCB_NUM 4
  97. #define RT_LWIP_TCP_SEG_NUM 40
  98. #define RT_LWIP_TCP_SND_BUF 8196
  99. #define RT_LWIP_TCP_WND 8196
  100. #define RT_LWIP_TCPTHREAD_PRIORITY 10
  101. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
  102. #define RT_LWIP_TCPTHREAD_STACKSIZE 1024
  103. #define RT_LWIP_ETHTHREAD_PRIORITY 12
  104. #define RT_LWIP_ETHTHREAD_STACKSIZE 1024
  105. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
  106. #define LWIP_NETIF_STATUS_CALLBACK 1
  107. #define LWIP_NETIF_LINK_CALLBACK 1
  108. #define SO_REUSE 1
  109. #define LWIP_SO_RCVTIMEO 1
  110. #define LWIP_SO_SNDTIMEO 1
  111. #define LWIP_SO_RCVBUF 1
  112. #define LWIP_SO_LINGER 0
  113. #define LWIP_NETIF_LOOPBACK 0
  114. #define RT_LWIP_USING_PING
  115. /* Utilities */
  116. /* RT-Thread Utestcases */
  117. /* RT-Thread online packages */
  118. /* IoT - internet of things */
  119. /* Wi-Fi */
  120. /* Marvell WiFi */
  121. /* Wiced WiFi */
  122. /* IoT Cloud */
  123. /* security packages */
  124. /* language packages */
  125. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  126. /* XML: Extensible Markup Language */
  127. /* multimedia packages */
  128. /* LVGL: powerful and easy-to-use embedded GUI library */
  129. /* u8g2: a monochrome graphic library */
  130. /* tools packages */
  131. /* system packages */
  132. /* enhanced kernel services */
  133. /* acceleration: Assembly language or algorithmic acceleration packages */
  134. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  135. /* Micrium: Micrium software products porting for RT-Thread */
  136. /* peripheral libraries and drivers */
  137. /* sensors drivers */
  138. /* touch drivers */
  139. /* Kendryte SDK */
  140. /* AI packages */
  141. /* Signal Processing and Control Algorithm Packages */
  142. /* miscellaneous packages */
  143. /* project laboratory */
  144. /* samples: kernel and components samples */
  145. /* entertainment: terminal games and other interesting software packages */
  146. /* Arduino libraries */
  147. /* Projects */
  148. /* Sensors */
  149. /* Display */
  150. /* Timing */
  151. /* Data Processing */
  152. /* Data Storage */
  153. /* Communication */
  154. /* Device Control */
  155. /* Other */
  156. /* Signal IO */
  157. /* Uncategorized */
  158. #define SOC_TM4C129
  159. #define RT_USING_UART0
  160. #endif