rtconfig.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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 8
  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 1000
  41. #define RT_USING_HOOK
  42. #define RT_HOOK_USING_FUNC_PTR
  43. #define RT_USING_IDLE_HOOK
  44. #define RT_IDLE_HOOK_LIST_SIZE 4
  45. #define IDLE_THREAD_STACK_SIZE 256
  46. /* kservice options */
  47. /* end of kservice options */
  48. /* Inter-Thread communication */
  49. #define RT_USING_SEMAPHORE
  50. #define RT_USING_MUTEX
  51. /* end of Inter-Thread communication */
  52. /* Memory Management */
  53. #define RT_USING_MEMPOOL
  54. #define RT_USING_SMALL_MEM
  55. #define RT_USING_SMALL_MEM_AS_HEAP
  56. #define RT_USING_HEAP
  57. /* end of Memory Management */
  58. #define RT_VER_NUM 0x50201
  59. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  60. /* end of RT-Thread Kernel */
  61. #define ARCH_ARM
  62. #define ARCH_ARM_CORTEX_M
  63. #define ARCH_ARM_CORTEX_M0
  64. /* RT-Thread Components */
  65. #define RT_USING_COMPONENTS_INIT
  66. #define RT_USING_USER_MAIN
  67. #define RT_MAIN_THREAD_STACK_SIZE 2048
  68. #define RT_MAIN_THREAD_PRIORITY 10
  69. /* Using USB legacy version */
  70. /* end of Using USB legacy version */
  71. /* end of RT-Thread Components */
  72. /* RT-Thread Utestcases */
  73. /* end of RT-Thread Utestcases */
  74. /* RT-Thread online packages */
  75. /* IoT - internet of things */
  76. /* Wi-Fi */
  77. /* Marvell WiFi */
  78. /* end of Marvell WiFi */
  79. /* Wiced WiFi */
  80. /* end of Wiced WiFi */
  81. /* CYW43012 WiFi */
  82. /* end of CYW43012 WiFi */
  83. /* BL808 WiFi */
  84. /* end of BL808 WiFi */
  85. /* CYW43439 WiFi */
  86. /* end of CYW43439 WiFi */
  87. /* end of Wi-Fi */
  88. /* IoT Cloud */
  89. /* end of IoT Cloud */
  90. /* end of IoT - internet of things */
  91. /* security packages */
  92. /* end of security packages */
  93. /* language packages */
  94. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  95. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  96. /* XML: Extensible Markup Language */
  97. /* end of XML: Extensible Markup Language */
  98. /* end of language packages */
  99. /* multimedia packages */
  100. /* LVGL: powerful and easy-to-use embedded GUI library */
  101. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  102. /* u8g2: a monochrome graphic library */
  103. /* end of u8g2: a monochrome graphic library */
  104. /* end of multimedia packages */
  105. /* tools packages */
  106. /* end of tools packages */
  107. /* system packages */
  108. /* enhanced kernel services */
  109. /* end of enhanced kernel services */
  110. /* acceleration: Assembly language or algorithmic acceleration packages */
  111. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  112. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  113. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  114. /* Micrium: Micrium software products porting for RT-Thread */
  115. /* end of Micrium: Micrium software products porting for RT-Thread */
  116. /* end of system packages */
  117. /* peripheral libraries and drivers */
  118. /* HAL & SDK Drivers */
  119. /* STM32 HAL & SDK Drivers */
  120. /* end of STM32 HAL & SDK Drivers */
  121. /* Infineon HAL Packages */
  122. /* end of Infineon HAL Packages */
  123. /* Kendryte SDK */
  124. /* end of Kendryte SDK */
  125. /* WCH HAL & SDK Drivers */
  126. /* end of WCH HAL & SDK Drivers */
  127. /* AT32 HAL & SDK Drivers */
  128. /* end of AT32 HAL & SDK Drivers */
  129. /* HC32 DDL Drivers */
  130. /* end of HC32 DDL Drivers */
  131. /* NXP HAL & SDK Drivers */
  132. #define PKG_USING_NXP_LPC_DRIVER
  133. #define PKG_USING_NXP_LPC_DRIVER_LATEST_VERSION
  134. /* end of NXP HAL & SDK Drivers */
  135. /* end of HAL & SDK Drivers */
  136. /* sensors drivers */
  137. /* end of sensors drivers */
  138. /* touch drivers */
  139. /* end of touch drivers */
  140. /* end of peripheral libraries and drivers */
  141. /* AI packages */
  142. /* end of AI packages */
  143. /* Signal Processing and Control Algorithm Packages */
  144. /* end of Signal Processing and Control Algorithm Packages */
  145. /* miscellaneous packages */
  146. /* project laboratory */
  147. /* end of project laboratory */
  148. /* samples: kernel and components samples */
  149. /* end of samples: kernel and components samples */
  150. /* entertainment: terminal games and other interesting software packages */
  151. /* end of entertainment: terminal games and other interesting software packages */
  152. /* end of miscellaneous packages */
  153. /* Arduino libraries */
  154. /* Projects and Demos */
  155. /* end of Projects and Demos */
  156. /* Sensors */
  157. /* end of Sensors */
  158. /* Display */
  159. /* end of Display */
  160. /* Timing */
  161. /* end of Timing */
  162. /* Data Processing */
  163. /* end of Data Processing */
  164. /* Data Storage */
  165. /* Communication */
  166. /* end of Communication */
  167. /* Device Control */
  168. /* end of Device Control */
  169. /* Other */
  170. /* end of Other */
  171. /* Signal IO */
  172. /* end of Signal IO */
  173. /* Uncategorized */
  174. /* end of Arduino libraries */
  175. /* end of RT-Thread online packages */
  176. #define SOC_LPC824
  177. /* Hardware Drivers Config */
  178. /* On-chip Peripheral Drivers */
  179. /* end of On-chip Peripheral Drivers */
  180. /* Onboard Peripheral Drivers */
  181. /* Board extended module Drivers */
  182. /* end of Hardware Drivers Config */
  183. #endif