rtconfig.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Automatically generated file; DO NOT EDIT. */
  4. /* RT-Thread Project Configuration */
  5. /* RT-Thread Kernel */
  6. #define RT_NAME_MAX 8
  7. #define RT_USING_SMP
  8. #define RT_CPUS_NR 4
  9. #define RT_ALIGN_SIZE 8
  10. #define RT_THREAD_PRIORITY_32
  11. #define RT_THREAD_PRIORITY_MAX 32
  12. #define RT_TICK_PER_SECOND 100
  13. #define RT_USING_OVERFLOW_CHECK
  14. #define RT_USING_HOOK
  15. #define RT_HOOK_USING_FUNC_PTR
  16. #define RT_USING_IDLE_HOOK
  17. #define RT_IDLE_HOOK_LIST_SIZE 4
  18. #define IDLE_THREAD_STACK_SIZE 4096
  19. #define SYSTEM_THREAD_STACK_SIZE 4096
  20. #define RT_USING_TIMER_SOFT
  21. #define RT_TIMER_THREAD_PRIO 4
  22. #define RT_TIMER_THREAD_STACK_SIZE 4096
  23. /* kservice optimization */
  24. #define RT_KPRINTF_USING_LONGLONG
  25. #define RT_USING_DEBUG
  26. #define RT_DEBUGING_COLOR
  27. #define RT_DEBUGING_CONTEXT
  28. /* Inter-Thread communication */
  29. #define RT_USING_SEMAPHORE
  30. #define RT_USING_MUTEX
  31. #define RT_USING_EVENT
  32. #define RT_USING_MAILBOX
  33. #define RT_USING_MESSAGEQUEUE
  34. /* Memory Management */
  35. #define RT_PAGE_MAX_ORDER 11
  36. #define RT_USING_MEMPOOL
  37. #define RT_USING_SMALL_MEM
  38. #define RT_USING_MEMHEAP
  39. #define RT_MEMHEAP_FAST_MODE
  40. #define RT_USING_SMALL_MEM_AS_HEAP
  41. #define RT_USING_MEMTRACE
  42. #define RT_USING_HEAP
  43. #define RT_USING_DEVICE
  44. #define RT_USING_DEVICE_OPS
  45. #define RT_USING_CONSOLE
  46. #define RT_CONSOLEBUF_SIZE 128
  47. #define RT_CONSOLE_DEVICE_NAME "uart2"
  48. #define RT_VER_NUM 0x50100
  49. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  50. /* AArch64 Architecture Configuration */
  51. #define ARCH_TEXT_OFFSET 0x200000
  52. #define ARCH_RAM_OFFSET 0
  53. #define ARCH_SECONDARY_CPU_STACK_SIZE 4096
  54. #define ARCH_HAVE_EFFICIENT_UNALIGNED_ACCESS
  55. #define ARCH_CPU_64BIT
  56. #define RT_USING_CACHE
  57. #define RT_USING_HW_ATOMIC
  58. #define ARCH_ARM_BOOTWITH_FLUSH_CACHE
  59. #define RT_USING_CPU_FFS
  60. #define ARCH_MM_MMU
  61. #define ARCH_ARM
  62. #define ARCH_ARM_MMU
  63. #define ARCH_ARM_CORTEX_A
  64. #define RT_NO_USING_GIC
  65. #define ARCH_ARM_CORTEX_A55
  66. #define ARCH_ARMV8
  67. /* RT-Thread Components */
  68. #define RT_USING_COMPONENTS_INIT
  69. #define RT_USING_USER_MAIN
  70. #define RT_MAIN_THREAD_STACK_SIZE 8192
  71. #define RT_MAIN_THREAD_PRIORITY 10
  72. #define RT_USING_MSH
  73. #define RT_USING_FINSH
  74. #define FINSH_USING_MSH
  75. #define FINSH_THREAD_NAME "tshell"
  76. #define FINSH_THREAD_PRIORITY 20
  77. #define FINSH_THREAD_STACK_SIZE 4096
  78. #define FINSH_USING_HISTORY
  79. #define FINSH_HISTORY_LINES 5
  80. #define FINSH_USING_SYMTAB
  81. #define FINSH_CMD_SIZE 80
  82. #define MSH_USING_BUILT_IN_COMMANDS
  83. #define FINSH_USING_DESCRIPTION
  84. #define FINSH_ARG_MAX 10
  85. #define FINSH_USING_OPTION_COMPLETION
  86. /* DFS: device virtual file system */
  87. /* Device Drivers */
  88. #define RT_USING_DM
  89. #define RT_USING_DEVICE_IPC
  90. #define RT_UNAMED_PIPE_NUMBER 64
  91. #define RT_USING_SERIAL
  92. #define RT_USING_SERIAL_V1
  93. #define RT_SERIAL_RB_BUFSZ 64
  94. #define RT_USING_PIN
  95. #define RT_USING_PM
  96. #define PM_TICKLESS_THRESHOLD_TIME 2
  97. #define RT_USING_OFW
  98. #define RT_FDT_EARLYCON_MSG_SIZE 128
  99. /* Using USB */
  100. /* C/C++ and POSIX layer */
  101. /* ISO-ANSI C layer */
  102. /* Timezone and Daylight Saving Time */
  103. #define RT_LIBC_USING_LIGHT_TZ_DST
  104. #define RT_LIBC_TZ_DEFAULT_HOUR 8
  105. #define RT_LIBC_TZ_DEFAULT_MIN 0
  106. #define RT_LIBC_TZ_DEFAULT_SEC 0
  107. /* POSIX (Portable Operating System Interface) layer */
  108. /* Interprocess Communication (IPC) */
  109. /* Socket is in the 'Network' category */
  110. /* Network */
  111. /* Utilities */
  112. #define RT_USING_ADT
  113. #define RT_USING_ADT_AVL
  114. #define RT_USING_ADT_BITMAP
  115. #define RT_USING_ADT_HASHMAP
  116. #define RT_USING_ADT_REF
  117. /* Memory management */
  118. /* Memory protection */
  119. /* RT-Thread Utestcases */
  120. /* RT-Thread online packages */
  121. /* IoT - internet of things */
  122. /* Wi-Fi */
  123. /* Marvell WiFi */
  124. /* Wiced WiFi */
  125. /* CYW43012 WiFi */
  126. /* IoT Cloud */
  127. /* security packages */
  128. /* language packages */
  129. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  130. /* XML: Extensible Markup Language */
  131. /* multimedia packages */
  132. /* LVGL: powerful and easy-to-use embedded GUI library */
  133. /* u8g2: a monochrome graphic library */
  134. /* tools packages */
  135. /* system packages */
  136. /* enhanced kernel services */
  137. /* acceleration: Assembly language or algorithmic acceleration packages */
  138. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  139. /* Micrium: Micrium software products porting for RT-Thread */
  140. /* peripheral libraries and drivers */
  141. /* sensors drivers */
  142. /* touch drivers */
  143. /* Kendryte SDK */
  144. /* AI packages */
  145. /* Signal Processing and Control Algorithm Packages */
  146. /* miscellaneous packages */
  147. /* project laboratory */
  148. /* samples: kernel and components samples */
  149. /* entertainment: terminal games and other interesting software packages */
  150. /* Arduino libraries */
  151. /* Projects and Demos */
  152. /* Sensors */
  153. /* Display */
  154. /* Timing */
  155. /* Data Processing */
  156. /* Data Storage */
  157. /* Communication */
  158. /* Device Control */
  159. /* Other */
  160. /* Signal IO */
  161. /* Uncategorized */
  162. #define SOC_RK3568
  163. /* Hardware Drivers Config */
  164. #define BSP_USING_UART
  165. #define RT_USING_UART2
  166. #define BSP_USING_GIC
  167. #define BSP_USING_GICV3
  168. #endif