rtconfig.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* RT-Thread Kernel */
  4. #define RT_NAME_MAX 8
  5. #define RT_USING_NANO
  6. #define RT_CPUS_NR 1
  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 1000
  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. /* kservice optimization */
  17. /* end of kservice optimization */
  18. /* klibc optimization */
  19. /* end of klibc optimization */
  20. /* Inter-Thread communication */
  21. #define RT_USING_SEMAPHORE
  22. #define RT_USING_MUTEX
  23. /* end of Inter-Thread communication */
  24. /* Memory Management */
  25. #define RT_USING_MEMPOOL
  26. #define RT_USING_SMALL_MEM
  27. #define RT_USING_SMALL_MEM_AS_HEAP
  28. #define RT_USING_HEAP
  29. /* end of Memory Management */
  30. #define RT_VER_NUM 0x50200
  31. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  32. /* end of RT-Thread Kernel */
  33. #define ARCH_ARM
  34. #define ARCH_ARM_CORTEX_M
  35. #define ARCH_ARM_CORTEX_M0
  36. /* RT-Thread Components */
  37. #define RT_USING_COMPONENTS_INIT
  38. #define RT_USING_USER_MAIN
  39. #define RT_MAIN_THREAD_STACK_SIZE 2048
  40. #define RT_MAIN_THREAD_PRIORITY 10
  41. /* Using USB legacy version */
  42. /* end of Using USB legacy version */
  43. /* end of RT-Thread Components */
  44. /* RT-Thread Utestcases */
  45. /* end of RT-Thread Utestcases */
  46. /* RT-Thread online packages */
  47. /* IoT - internet of things */
  48. /* Wi-Fi */
  49. /* Marvell WiFi */
  50. /* end of Marvell WiFi */
  51. /* Wiced WiFi */
  52. /* end of Wiced WiFi */
  53. /* CYW43012 WiFi */
  54. /* end of CYW43012 WiFi */
  55. /* BL808 WiFi */
  56. /* end of BL808 WiFi */
  57. /* CYW43439 WiFi */
  58. /* end of CYW43439 WiFi */
  59. /* end of Wi-Fi */
  60. /* IoT Cloud */
  61. /* end of IoT Cloud */
  62. /* end of IoT - internet of things */
  63. /* security packages */
  64. /* end of security packages */
  65. /* language packages */
  66. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  67. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  68. /* XML: Extensible Markup Language */
  69. /* end of XML: Extensible Markup Language */
  70. /* end of language packages */
  71. /* multimedia packages */
  72. /* LVGL: powerful and easy-to-use embedded GUI library */
  73. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  74. /* u8g2: a monochrome graphic library */
  75. /* end of u8g2: a monochrome graphic library */
  76. /* end of multimedia packages */
  77. /* tools packages */
  78. /* end of tools packages */
  79. /* system packages */
  80. /* enhanced kernel services */
  81. /* end of enhanced kernel services */
  82. /* acceleration: Assembly language or algorithmic acceleration packages */
  83. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  84. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  85. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  86. /* Micrium: Micrium software products porting for RT-Thread */
  87. /* end of Micrium: Micrium software products porting for RT-Thread */
  88. /* end of system packages */
  89. /* peripheral libraries and drivers */
  90. /* HAL & SDK Drivers */
  91. /* STM32 HAL & SDK Drivers */
  92. /* end of STM32 HAL & SDK Drivers */
  93. /* Infineon HAL Packages */
  94. /* end of Infineon HAL Packages */
  95. /* Kendryte SDK */
  96. /* end of Kendryte SDK */
  97. /* end of HAL & SDK Drivers */
  98. /* sensors drivers */
  99. /* end of sensors drivers */
  100. /* touch drivers */
  101. /* end of touch drivers */
  102. /* end of peripheral libraries and drivers */
  103. /* AI packages */
  104. /* end of AI packages */
  105. /* Signal Processing and Control Algorithm Packages */
  106. /* end of Signal Processing and Control Algorithm Packages */
  107. /* miscellaneous packages */
  108. /* project laboratory */
  109. /* end of project laboratory */
  110. /* samples: kernel and components samples */
  111. /* end of samples: kernel and components samples */
  112. /* entertainment: terminal games and other interesting software packages */
  113. /* end of entertainment: terminal games and other interesting software packages */
  114. /* end of miscellaneous packages */
  115. /* Arduino libraries */
  116. /* Projects and Demos */
  117. /* end of Projects and Demos */
  118. /* Sensors */
  119. /* end of Sensors */
  120. /* Display */
  121. /* end of Display */
  122. /* Timing */
  123. /* end of Timing */
  124. /* Data Processing */
  125. /* end of Data Processing */
  126. /* Data Storage */
  127. /* Communication */
  128. /* end of Communication */
  129. /* Device Control */
  130. /* end of Device Control */
  131. /* Other */
  132. /* end of Other */
  133. /* Signal IO */
  134. /* end of Signal IO */
  135. /* Uncategorized */
  136. /* end of Arduino libraries */
  137. /* end of RT-Thread online packages */
  138. #define SOC_LPC824
  139. /* Hardware Drivers Config */
  140. /* On-chip Peripheral Drivers */
  141. /* end of On-chip Peripheral Drivers */
  142. /* Onboard Peripheral Drivers */
  143. /* Board extended module Drivers */
  144. /* end of Hardware Drivers Config */
  145. #endif