rtconfig.h 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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 4
  7. #define RT_THREAD_PRIORITY_32
  8. #define RT_THREAD_PRIORITY_MAX 32
  9. #define RT_TICK_PER_SECOND 1000
  10. #define RT_USING_OVERFLOW_CHECK
  11. #define RT_USING_HOOK
  12. #define RT_HOOK_USING_FUNC_PTR
  13. #define RT_USING_IDLE_HOOK
  14. #define RT_IDLE_HOOK_LIST_SIZE 4
  15. #define IDLE_THREAD_STACK_SIZE 256
  16. #define RT_USING_TIMER_SOFT
  17. #define RT_TIMER_THREAD_PRIO 4
  18. #define RT_TIMER_THREAD_STACK_SIZE 512
  19. /* kservice optimization */
  20. #define RT_KSERVICE_USING_STDLIB
  21. /* end of kservice optimization */
  22. #define RT_DEBUG
  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. /* end of Inter-Thread communication */
  30. /* Memory Management */
  31. #define RT_USING_MEMPOOL
  32. #define RT_USING_SMALL_MEM
  33. #define RT_USING_SMALL_MEM_AS_HEAP
  34. #define RT_USING_HEAP
  35. /* end of Memory Management */
  36. /* Kernel Device Object */
  37. #define RT_USING_DEVICE
  38. #define RT_USING_CONSOLE
  39. #define RT_CONSOLEBUF_SIZE 128
  40. #define RT_CONSOLE_DEVICE_NAME "uart5"
  41. /* end of Kernel Device Object */
  42. #define RT_VER_NUM 0x50000
  43. /* end of RT-Thread Kernel */
  44. #define ARCH_ARM
  45. #define RT_USING_CPU_FFS
  46. #define ARCH_ARM_CORTEX_M
  47. #define ARCH_ARM_CORTEX_M4
  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. /* Device Drivers */
  67. #define RT_USING_DEVICE_IPC
  68. #define RT_USING_SERIAL
  69. #define RT_USING_SERIAL_V1
  70. #define RT_SERIAL_USING_DMA
  71. #define RT_SERIAL_RB_BUFSZ 64
  72. #define RT_USING_PIN
  73. /* Using USB */
  74. /* end of Using USB */
  75. /* end of Device Drivers */
  76. /* C/C++ and POSIX layer */
  77. #define RT_LIBC_DEFAULT_TIMEZONE 8
  78. /* POSIX (Portable Operating System Interface) layer */
  79. /* Interprocess Communication (IPC) */
  80. /* Socket is in the 'Network' category */
  81. /* end of Interprocess Communication (IPC) */
  82. /* end of POSIX (Portable Operating System Interface) layer */
  83. /* end of C/C++ and POSIX layer */
  84. /* Network */
  85. /* end of Network */
  86. /* Utilities */
  87. /* end of Utilities */
  88. /* end of RT-Thread Components */
  89. /* RT-Thread online packages */
  90. /* IoT - internet of things */
  91. /* Wi-Fi */
  92. /* Marvell WiFi */
  93. /* end of Marvell WiFi */
  94. /* Wiced WiFi */
  95. /* end of Wiced WiFi */
  96. /* end of Wi-Fi */
  97. /* IoT Cloud */
  98. /* end of IoT Cloud */
  99. /* end of IoT - internet of things */
  100. /* security packages */
  101. /* end of security packages */
  102. /* language packages */
  103. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  104. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  105. /* XML: Extensible Markup Language */
  106. /* end of XML: Extensible Markup Language */
  107. /* end of language packages */
  108. /* multimedia packages */
  109. /* LVGL: powerful and easy-to-use embedded GUI library */
  110. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  111. /* u8g2: a monochrome graphic library */
  112. /* end of u8g2: a monochrome graphic library */
  113. /* PainterEngine: A cross-platform graphics application framework written in C language */
  114. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  115. /* end of multimedia packages */
  116. /* tools packages */
  117. /* end of tools packages */
  118. /* system packages */
  119. /* enhanced kernel services */
  120. /* end of enhanced kernel services */
  121. /* acceleration: Assembly language or algorithmic acceleration packages */
  122. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  123. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  124. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  125. /* Micrium: Micrium software products porting for RT-Thread */
  126. /* end of Micrium: Micrium software products porting for RT-Thread */
  127. /* end of system packages */
  128. /* peripheral libraries and drivers */
  129. /* Kendryte SDK */
  130. /* end of Kendryte SDK */
  131. /* end of peripheral libraries and drivers */
  132. /* AI packages */
  133. /* end of AI packages */
  134. /* miscellaneous packages */
  135. /* project laboratory */
  136. /* end of project laboratory */
  137. /* samples: kernel and components samples */
  138. /* end of samples: kernel and components samples */
  139. /* entertainment: terminal games and other interesting software packages */
  140. /* end of entertainment: terminal games and other interesting software packages */
  141. /* end of miscellaneous packages */
  142. /* Arduino libraries */
  143. /* Projects */
  144. /* end of Projects */
  145. /* Sensors */
  146. /* end of Sensors */
  147. /* Display */
  148. /* end of Display */
  149. /* Timing */
  150. /* end of Timing */
  151. /* Data Processing */
  152. /* end of Data Processing */
  153. /* Data Storage */
  154. /* Communication */
  155. /* end of Communication */
  156. /* Device Control */
  157. /* end of Device Control */
  158. /* Other */
  159. /* Signal IO */
  160. /* end of Signal IO */
  161. /* Uncategorized */
  162. /* end of Arduino libraries */
  163. /* end of RT-Thread online packages */
  164. #define SOC_FAMILY_IFX
  165. #define SOC_SERIES_IFX_PSOC6
  166. /* Hardware Drivers Config */
  167. #define SOC_IFX_PSOC6_43012
  168. /* Onboard Peripheral Drivers */
  169. #define BSP_USING_USB_TO_USART
  170. /* end of Onboard Peripheral Drivers */
  171. /* On-chip Peripheral Drivers */
  172. #define BSP_USING_GPIO
  173. #define BSP_USING_UART
  174. #define BSP_USING_UART5
  175. /* end of On-chip Peripheral Drivers */
  176. /* Board extended module Drivers */
  177. /* end of Board extended module Drivers */
  178. /* end of Hardware Drivers Config */
  179. #endif