1
0

rtconfig.h 4.6 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 1024
  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. /* 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. /* Memory Management */
  29. #define RT_PAGE_MAX_ORDER 11
  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. /* Kernel Device Object */
  35. #define RT_USING_DEVICE
  36. #define RT_USING_CONSOLE
  37. #define RT_CONSOLEBUF_SIZE 128
  38. #define RT_CONSOLE_DEVICE_NAME "uart"
  39. #define RT_VER_NUM 0x50000
  40. #define RT_USING_HW_ATOMIC
  41. #define RT_USING_CPU_FFS
  42. #define ARCH_ARM
  43. #define ARCH_ARM_CORTEX_M
  44. #define ARCH_ARM_CORTEX_M4
  45. /* RT-Thread Components */
  46. #define RT_USING_COMPONENTS_INIT
  47. #define RT_USING_MSH
  48. #define RT_USING_FINSH
  49. #define FINSH_USING_MSH
  50. #define FINSH_THREAD_NAME "tshell"
  51. #define FINSH_THREAD_PRIORITY 20
  52. #define FINSH_THREAD_STACK_SIZE 4096
  53. #define FINSH_USING_HISTORY
  54. #define FINSH_HISTORY_LINES 5
  55. #define FINSH_USING_SYMTAB
  56. #define FINSH_CMD_SIZE 80
  57. #define MSH_USING_BUILT_IN_COMMANDS
  58. #define FINSH_USING_DESCRIPTION
  59. #define FINSH_ARG_MAX 10
  60. /* Device Drivers */
  61. #define RT_USING_DEVICE_IPC
  62. #define RT_UNAMED_PIPE_NUMBER 64
  63. #define RT_USING_SERIAL
  64. #define RT_USING_SERIAL_V1
  65. #define RT_SERIAL_USING_DMA
  66. #define RT_SERIAL_RB_BUFSZ 64
  67. #define RT_USING_PIN
  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_LWIP203
  78. #define RT_USING_LWIP_VER_NUM 0x20003
  79. #define RT_LWIP_MEM_ALIGNMENT 4
  80. #define RT_LWIP_IGMP
  81. #define RT_LWIP_ICMP
  82. #define RT_LWIP_DNS
  83. #define RT_LWIP_DHCP
  84. #define IP_SOF_BROADCAST 1
  85. #define IP_SOF_BROADCAST_RECV 1
  86. /* Static IPv4 Address */
  87. #define RT_LWIP_IPADDR "192.168.1.201"
  88. #define RT_LWIP_GWADDR "192.168.1.1"
  89. #define RT_LWIP_MSKADDR "255.255.255.0"
  90. #define RT_LWIP_UDP
  91. #define RT_LWIP_TCP
  92. #define RT_LWIP_RAW
  93. #define RT_MEMP_NUM_NETCONN 8
  94. #define RT_LWIP_PBUF_NUM 16
  95. #define RT_LWIP_RAW_PCB_NUM 4
  96. #define RT_LWIP_UDP_PCB_NUM 4
  97. #define RT_LWIP_TCP_PCB_NUM 4
  98. #define RT_LWIP_TCP_SEG_NUM 40
  99. #define RT_LWIP_TCP_SND_BUF 8196
  100. #define RT_LWIP_TCP_WND 8196
  101. #define RT_LWIP_TCPTHREAD_PRIORITY 12
  102. #define RT_LWIP_TCPTHREAD_MBOX_SIZE 4
  103. #define RT_LWIP_TCPTHREAD_STACKSIZE 1024
  104. #define RT_LWIP_ETHTHREAD_PRIORITY 15
  105. #define RT_LWIP_ETHTHREAD_STACKSIZE 512
  106. #define RT_LWIP_ETHTHREAD_MBOX_SIZE 4
  107. #define LWIP_NETIF_STATUS_CALLBACK 1
  108. #define LWIP_NETIF_LINK_CALLBACK 1
  109. #define SO_REUSE 1
  110. #define LWIP_SO_RCVTIMEO 1
  111. #define LWIP_SO_SNDTIMEO 1
  112. #define LWIP_SO_RCVBUF 1
  113. #define LWIP_SO_LINGER 0
  114. #define LWIP_NETIF_LOOPBACK 0
  115. #define RT_LWIP_USING_PING
  116. /* Utilities */
  117. /* RT-Thread Utestcases */
  118. /* RT-Thread online packages */
  119. /* IoT - internet of things */
  120. /* Wi-Fi */
  121. /* Marvell WiFi */
  122. /* Wiced WiFi */
  123. /* IoT Cloud */
  124. /* security packages */
  125. /* language packages */
  126. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  127. /* XML: Extensible Markup Language */
  128. /* multimedia packages */
  129. /* LVGL: powerful and easy-to-use embedded GUI library */
  130. /* u8g2: a monochrome graphic library */
  131. /* tools packages */
  132. /* system packages */
  133. /* enhanced kernel services */
  134. /* acceleration: Assembly language or algorithmic acceleration packages */
  135. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  136. /* Micrium: Micrium software products porting for RT-Thread */
  137. /* peripheral libraries and drivers */
  138. /* sensors drivers */
  139. /* touch drivers */
  140. /* Kendryte SDK */
  141. /* AI packages */
  142. /* Signal Processing and Control Algorithm Packages */
  143. /* miscellaneous packages */
  144. /* project laboratory */
  145. /* samples: kernel and components samples */
  146. /* entertainment: terminal games and other interesting software packages */
  147. /* Arduino libraries */
  148. /* Projects */
  149. /* Sensors */
  150. /* Display */
  151. /* Timing */
  152. /* Data Processing */
  153. /* Data Storage */
  154. /* Communication */
  155. /* Device Control */
  156. /* Other */
  157. /* Signal IO */
  158. /* Uncategorized */
  159. #define SOC_FRDM_K64F
  160. #endif