rtconfig.h 4.6 KB

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