rtconfig.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* RT-Thread Kernel */
  4. /* klibc options */
  5. /* rt_vsnprintf options */
  6. /* end of rt_vsnprintf options */
  7. /* rt_vsscanf options */
  8. /* end of rt_vsscanf options */
  9. /* rt_memset options */
  10. /* end of rt_memset options */
  11. /* rt_memcpy options */
  12. /* end of rt_memcpy options */
  13. /* rt_memmove options */
  14. /* end of rt_memmove options */
  15. /* rt_memcmp options */
  16. /* end of rt_memcmp options */
  17. /* rt_strstr options */
  18. /* end of rt_strstr options */
  19. /* rt_strcasecmp options */
  20. /* end of rt_strcasecmp options */
  21. /* rt_strncpy options */
  22. /* end of rt_strncpy options */
  23. /* rt_strcpy options */
  24. /* end of rt_strcpy options */
  25. /* rt_strncmp options */
  26. /* end of rt_strncmp options */
  27. /* rt_strcmp options */
  28. /* end of rt_strcmp options */
  29. /* rt_strlen options */
  30. /* end of rt_strlen options */
  31. /* rt_strnlen options */
  32. /* end of rt_strnlen options */
  33. /* end of klibc options */
  34. #define RT_NAME_MAX 12
  35. #define RT_USING_NANO
  36. #define RT_CPUS_NR 1
  37. #define RT_ALIGN_SIZE 8
  38. #define RT_THREAD_PRIORITY_32
  39. #define RT_THREAD_PRIORITY_MAX 32
  40. #define RT_TICK_PER_SECOND 100
  41. #define IDLE_THREAD_STACK_SIZE 256
  42. /* kservice options */
  43. /* end of kservice options */
  44. /* Inter-Thread communication */
  45. #define RT_USING_SEMAPHORE
  46. #define RT_USING_MUTEX
  47. #define RT_USING_EVENT
  48. #define RT_USING_MAILBOX
  49. #define RT_USING_MESSAGEQUEUE
  50. /* end of Inter-Thread communication */
  51. /* Memory Management */
  52. #define RT_USING_MEMPOOL
  53. #define RT_USING_SMALL_MEM
  54. #define RT_USING_SMALL_MEM_AS_HEAP
  55. #define RT_USING_HEAP
  56. /* end of Memory Management */
  57. #define RT_VER_NUM 0x50201
  58. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  59. /* end of RT-Thread Kernel */
  60. #define ARCH_ARM
  61. #define ARCH_ARM_CORTEX_M
  62. #define ARCH_ARM_CORTEX_M0
  63. /* RT-Thread Components */
  64. #define RT_USING_COMPONENTS_INIT
  65. #define RT_USING_USER_MAIN
  66. #define RT_MAIN_THREAD_STACK_SIZE 512
  67. #define RT_MAIN_THREAD_PRIORITY 10
  68. /* Using USB legacy version */
  69. /* end of Using USB legacy version */
  70. /* end of RT-Thread Components */
  71. /* RT-Thread Utestcases */
  72. /* end of RT-Thread Utestcases */
  73. /* RT-Thread online packages */
  74. /* IoT - internet of things */
  75. /* Wi-Fi */
  76. /* Marvell WiFi */
  77. /* end of Marvell WiFi */
  78. /* Wiced WiFi */
  79. /* end of Wiced WiFi */
  80. /* CYW43012 WiFi */
  81. /* end of CYW43012 WiFi */
  82. /* BL808 WiFi */
  83. /* end of BL808 WiFi */
  84. /* CYW43439 WiFi */
  85. /* end of CYW43439 WiFi */
  86. /* end of Wi-Fi */
  87. /* IoT Cloud */
  88. /* end of IoT Cloud */
  89. /* end of IoT - internet of things */
  90. /* security packages */
  91. /* end of security packages */
  92. /* language packages */
  93. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  94. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  95. /* XML: Extensible Markup Language */
  96. /* end of XML: Extensible Markup Language */
  97. /* end of language packages */
  98. /* multimedia packages */
  99. /* LVGL: powerful and easy-to-use embedded GUI library */
  100. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  101. /* u8g2: a monochrome graphic library */
  102. /* end of u8g2: a monochrome graphic library */
  103. /* end of multimedia packages */
  104. /* tools packages */
  105. /* end of tools packages */
  106. /* system packages */
  107. /* enhanced kernel services */
  108. /* end of enhanced kernel services */
  109. /* acceleration: Assembly language or algorithmic acceleration packages */
  110. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  111. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  112. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  113. /* Micrium: Micrium software products porting for RT-Thread */
  114. /* end of Micrium: Micrium software products porting for RT-Thread */
  115. /* end of system packages */
  116. /* peripheral libraries and drivers */
  117. /* HAL & SDK Drivers */
  118. /* STM32 HAL & SDK Drivers */
  119. /* end of STM32 HAL & SDK Drivers */
  120. /* Infineon HAL Packages */
  121. /* end of Infineon HAL Packages */
  122. /* Kendryte SDK */
  123. /* end of Kendryte SDK */
  124. /* WCH HAL & SDK Drivers */
  125. /* end of WCH HAL & SDK Drivers */
  126. /* AT32 HAL & SDK Drivers */
  127. /* end of AT32 HAL & SDK Drivers */
  128. /* HC32 DDL Drivers */
  129. /* end of HC32 DDL Drivers */
  130. /* NXP HAL & SDK Drivers */
  131. /* end of NXP HAL & SDK Drivers */
  132. /* NUVOTON Drivers */
  133. /* end of NUVOTON Drivers */
  134. /* GD32 Drivers */
  135. /* end of GD32 Drivers */
  136. /* end of HAL & SDK Drivers */
  137. /* sensors drivers */
  138. /* end of sensors drivers */
  139. /* touch drivers */
  140. /* end of touch drivers */
  141. /* end of peripheral libraries and drivers */
  142. /* AI packages */
  143. /* end of AI packages */
  144. /* Signal Processing and Control Algorithm Packages */
  145. /* end of Signal Processing and Control Algorithm Packages */
  146. /* miscellaneous packages */
  147. /* project laboratory */
  148. /* end of project laboratory */
  149. /* samples: kernel and components samples */
  150. /* end of samples: kernel and components samples */
  151. /* entertainment: terminal games and other interesting software packages */
  152. /* end of entertainment: terminal games and other interesting software packages */
  153. /* end of miscellaneous packages */
  154. /* Arduino libraries */
  155. /* Projects and Demos */
  156. /* end of Projects and Demos */
  157. /* Sensors */
  158. /* end of Sensors */
  159. /* Display */
  160. /* end of Display */
  161. /* Timing */
  162. /* end of Timing */
  163. /* Data Processing */
  164. /* end of Data Processing */
  165. /* Data Storage */
  166. /* Communication */
  167. /* end of Communication */
  168. /* Device Control */
  169. /* end of Device Control */
  170. /* Other */
  171. /* end of Other */
  172. /* Signal IO */
  173. /* end of Signal IO */
  174. /* Uncategorized */
  175. /* end of Arduino libraries */
  176. /* end of RT-Thread online packages */
  177. #define SOC_LPC1114
  178. /* Hardware Drivers Config */
  179. /* On-chip Peripheral Drivers */
  180. /* end of On-chip Peripheral Drivers */
  181. /* Onboard Peripheral Drivers */
  182. /* Board extended module Drivers */
  183. /* end of Hardware Drivers Config */
  184. #endif