rtconfig.h 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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 8
  6. #define RT_ALIGN_SIZE 8
  7. #define RT_THREAD_PRIORITY_32
  8. #define RT_THREAD_PRIORITY_MAX 32
  9. #define RT_TICK_PER_SECOND 100
  10. #define RT_USING_OVERFLOW_CHECK
  11. #define RT_USING_HOOK
  12. #define RT_USING_IDLE_HOOK
  13. #define RT_IDLE_HOOK_LIST_SIZE 4
  14. #define IDLE_THREAD_STACK_SIZE 512
  15. /* kservice optimization */
  16. /* end of kservice optimization */
  17. #define RT_DEBUG
  18. #define RT_DEBUG_COLOR
  19. /* Inter-Thread communication */
  20. #define RT_USING_SEMAPHORE
  21. #define RT_USING_MUTEX
  22. #define RT_USING_EVENT
  23. #define RT_USING_MAILBOX
  24. #define RT_USING_MESSAGEQUEUE
  25. /* end of Inter-Thread communication */
  26. /* Memory Management */
  27. #define RT_USING_MEMPOOL
  28. #define RT_USING_SMALL_MEM
  29. #define RT_USING_HEAP
  30. /* end of Memory Management */
  31. /* Kernel Device Object */
  32. #define RT_USING_DEVICE
  33. #define RT_USING_CONSOLE
  34. #define RT_CONSOLEBUF_SIZE 128
  35. #define RT_CONSOLE_DEVICE_NAME "uart2"
  36. /* end of Kernel Device Object */
  37. #define RT_VER_NUM 0x40100
  38. /* end of RT-Thread Kernel */
  39. /* RT-Thread Components */
  40. #define RT_USING_COMPONENTS_INIT
  41. #define RT_USING_USER_MAIN
  42. #define RT_MAIN_THREAD_STACK_SIZE 2048
  43. #define RT_MAIN_THREAD_PRIORITY 10
  44. /* C++ features */
  45. /* end of C++ features */
  46. /* Command shell */
  47. #define RT_USING_FINSH
  48. #define RT_USING_MSH
  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. /* end of Command shell */
  61. /* Device virtual file system */
  62. /* end of Device virtual file system */
  63. /* Device Drivers */
  64. #define RT_USING_DEVICE_IPC
  65. #define RT_PIPE_BUFSZ 512
  66. #define RT_USING_SERIAL
  67. #define RT_USING_SERIAL_V1
  68. #define RT_SERIAL_RB_BUFSZ 64
  69. #define RT_USING_PIN
  70. /* Using USB */
  71. /* end of Using USB */
  72. /* end of Device Drivers */
  73. /* POSIX layer and C standard library */
  74. #define RT_LIBC_USING_TIME
  75. #define RT_LIBC_DEFAULT_TIMEZONE 8
  76. /* POSIX (Portable Operating System Interface) layer */
  77. /* end of POSIX (Portable Operating System Interface) layer */
  78. /* end of POSIX layer and C standard library */
  79. /* Network */
  80. /* Socket abstraction layer */
  81. /* end of Socket abstraction layer */
  82. /* Network interface device */
  83. /* end of Network interface device */
  84. /* light weight TCP/IP stack */
  85. /* end of light weight TCP/IP stack */
  86. /* AT commands */
  87. /* end of AT commands */
  88. /* end of Network */
  89. /* VBUS(Virtual Software BUS) */
  90. /* end of VBUS(Virtual Software BUS) */
  91. /* Utilities */
  92. /* end of Utilities */
  93. /* end of RT-Thread Components */
  94. /* RT-Thread Utestcases */
  95. /* end of RT-Thread Utestcases */
  96. /* RT-Thread online packages */
  97. /* IoT - internet of things */
  98. /* Wi-Fi */
  99. /* Marvell WiFi */
  100. /* end of Marvell WiFi */
  101. /* Wiced WiFi */
  102. /* end of Wiced WiFi */
  103. /* end of Wi-Fi */
  104. /* IoT Cloud */
  105. /* end of IoT Cloud */
  106. /* end of IoT - internet of things */
  107. /* security packages */
  108. /* end of security packages */
  109. /* language packages */
  110. /* end of language packages */
  111. /* multimedia packages */
  112. /* LVGL: powerful and easy-to-use embedded GUI library */
  113. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  114. /* u8g2: a monochrome graphic library */
  115. /* end of u8g2: a monochrome graphic library */
  116. /* PainterEngine: A cross-platform graphics application framework written in C language */
  117. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  118. /* end of multimedia packages */
  119. /* tools packages */
  120. /* end of tools packages */
  121. /* system packages */
  122. /* acceleration: Assembly language or algorithmic acceleration packages */
  123. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  124. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  125. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  126. /* Micrium: Micrium software products porting for RT-Thread */
  127. /* end of Micrium: Micrium software products porting for RT-Thread */
  128. /* end of system packages */
  129. /* peripheral libraries and drivers */
  130. /* end of peripheral libraries and drivers */
  131. /* AI packages */
  132. /* end of AI packages */
  133. /* miscellaneous packages */
  134. /* samples: kernel and components samples */
  135. /* end of samples: kernel and components samples */
  136. /* entertainment: terminal games and other interesting software packages */
  137. /* end of entertainment: terminal games and other interesting software packages */
  138. /* end of miscellaneous packages */
  139. /* end of RT-Thread online packages */
  140. #define SOC_ES32F0654LT
  141. /* Hardware Drivers Config */
  142. /* On-chip Peripheral Drivers */
  143. #define BSP_USING_GPIO
  144. /* UART Drivers */
  145. #define BSP_USING_UART2
  146. /* end of UART Drivers */
  147. /* SPI Drivers */
  148. /* end of SPI Drivers */
  149. /* I2C Drivers */
  150. /* end of I2C Drivers */
  151. /* CAN Drivers */
  152. /* end of CAN Drivers */
  153. /* PWM Drivers */
  154. /* end of PWM Drivers */
  155. /* HWtimer Drivers */
  156. /* end of HWtimer Drivers */
  157. /* RTC Drivers */
  158. /* end of RTC Drivers */
  159. /* PM Drivers */
  160. /* end of PM Drivers */
  161. /* ADC Drivers */
  162. /* end of ADC Drivers */
  163. /* end of On-chip Peripheral Drivers */
  164. /* Onboard Peripheral Drivers */
  165. /* end of Onboard Peripheral Drivers */
  166. /* Offboard Peripheral Drivers */
  167. /* Peripheral Drivers test example */
  168. /* end of Peripheral Drivers test example */
  169. /* end of Hardware Drivers Config */
  170. #endif