rtconfig.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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 16
  7. #define RT_USING_SMART
  8. #define RT_USING_SMP
  9. #define RT_CPUS_NR 2
  10. #define RT_ALIGN_SIZE 4
  11. #define RT_THREAD_PRIORITY_32
  12. #define RT_THREAD_PRIORITY_MAX 32
  13. #define RT_TICK_PER_SECOND 1000
  14. #define RT_USING_OVERFLOW_CHECK
  15. #define RT_USING_HOOK
  16. #define RT_HOOK_USING_FUNC_PTR
  17. #define RT_USING_IDLE_HOOK
  18. #define RT_IDLE_HOOK_LIST_SIZE 4
  19. #define IDLE_THREAD_STACK_SIZE 4096
  20. #define SYSTEM_THREAD_STACK_SIZE 4096
  21. #define RT_USING_TIMER_SOFT
  22. #define RT_TIMER_THREAD_PRIO 4
  23. #define RT_TIMER_THREAD_STACK_SIZE 4096
  24. /* kservice optimization */
  25. #define RT_KSERVICE_USING_STDLIB
  26. #define RT_KPRINTF_USING_LONGLONG
  27. #define RT_DEBUG
  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_HEAP
  42. /* Kernel Device Object */
  43. #define RT_USING_DEVICE
  44. #define RT_USING_CONSOLE
  45. #define RT_CONSOLEBUF_SIZE 256
  46. #define RT_CONSOLE_DEVICE_NAME "uart1"
  47. #define RT_VER_NUM 0x50001
  48. #define RT_USING_CACHE
  49. #define RT_USING_HW_ATOMIC
  50. #define RT_USING_CPU_FFS
  51. #define ARCH_MM_MMU
  52. #define ARCH_ARM
  53. #define ARCH_ARM_MMU
  54. #define KERNEL_VADDR_START 0xc0000000
  55. #define ARCH_ARM_CORTEX_A
  56. #define RT_USING_GIC_V3
  57. /* RT-Thread Components */
  58. #define RT_USING_COMPONENTS_INIT
  59. #define RT_USING_USER_MAIN
  60. #define RT_MAIN_THREAD_STACK_SIZE 8192
  61. #define RT_MAIN_THREAD_PRIORITY 10
  62. #define RT_USING_MSH
  63. #define RT_USING_FINSH
  64. #define FINSH_USING_MSH
  65. #define FINSH_THREAD_NAME "tshell"
  66. #define FINSH_THREAD_PRIORITY 20
  67. #define FINSH_THREAD_STACK_SIZE 4096
  68. #define FINSH_USING_HISTORY
  69. #define FINSH_HISTORY_LINES 5
  70. #define FINSH_USING_SYMTAB
  71. #define FINSH_CMD_SIZE 80
  72. #define MSH_USING_BUILT_IN_COMMANDS
  73. #define FINSH_USING_DESCRIPTION
  74. #define FINSH_ARG_MAX 10
  75. /* DFS: device virtual file system */
  76. #define RT_USING_DFS
  77. #define DFS_USING_POSIX
  78. #define DFS_USING_WORKDIR
  79. #define DFS_FD_MAX 16
  80. #define RT_USING_DFS_V1
  81. #define DFS_FILESYSTEMS_MAX 4
  82. #define DFS_FILESYSTEM_TYPES_MAX 4
  83. #define RT_USING_DFS_DEVFS
  84. #define RT_USING_DFS_RAMFS
  85. #define RT_USING_LWP
  86. #define RT_LWP_MAX_NR 30
  87. #define LWP_TASK_STACK_SIZE 16384
  88. #define RT_CH_MSG_MAX_NR 1024
  89. #define LWP_CONSOLE_INPUT_BUFFER_SIZE 1024
  90. #define LWP_TID_MAX_NR 64
  91. #define LWP_ENABLE_ASID
  92. #define RT_LWP_SHM_MAX_NR 64
  93. /* Device Drivers */
  94. #define RT_USING_DEVICE_IPC
  95. #define RT_UNAMED_PIPE_NUMBER 64
  96. #define RT_USING_SYSTEM_WORKQUEUE
  97. #define RT_SYSTEM_WORKQUEUE_STACKSIZE 4096
  98. #define RT_SYSTEM_WORKQUEUE_PRIORITY 23
  99. #define RT_USING_SERIAL
  100. #define RT_USING_SERIAL_V1
  101. #define RT_SERIAL_USING_DMA
  102. #define RT_SERIAL_RB_BUFSZ 1024
  103. #define RT_USING_TTY
  104. #define RT_USING_NULL
  105. #define RT_USING_ZERO
  106. #define RT_USING_RANDOM
  107. #define RT_USING_RTC
  108. /* Using USB */
  109. /* C/C++ and POSIX layer */
  110. #define RT_LIBC_DEFAULT_TIMEZONE 8
  111. /* POSIX (Portable Operating System Interface) layer */
  112. #define RT_USING_POSIX_FS
  113. #define RT_USING_POSIX_DEVIO
  114. #define RT_USING_POSIX_STDIO
  115. #define RT_USING_POSIX_POLL
  116. #define RT_USING_POSIX_SELECT
  117. #define RT_USING_POSIX_TERMIOS
  118. #define RT_USING_POSIX_AIO
  119. #define RT_USING_POSIX_DELAY
  120. #define RT_USING_POSIX_CLOCK
  121. #define RT_USING_POSIX_TIMER
  122. /* Interprocess Communication (IPC) */
  123. #define RT_USING_POSIX_PIPE
  124. #define RT_USING_POSIX_PIPE_SIZE 512
  125. #define RT_USING_POSIX_MESSAGE_QUEUE
  126. #define RT_USING_POSIX_MESSAGE_SEMAPHORE
  127. /* Socket is in the 'Network' category */
  128. /* Network */
  129. /* Utilities */
  130. #define RT_USING_RYM
  131. #define YMODEM_USING_FILE_TRANSFER
  132. #define RT_USING_UTEST
  133. #define UTEST_THR_STACK_SIZE 4096
  134. #define UTEST_THR_PRIORITY 20
  135. #define RT_USING_ADT
  136. /* RT-Thread Utestcases */
  137. /* RT-Thread online packages */
  138. /* IoT - internet of things */
  139. /* Wi-Fi */
  140. /* Marvell WiFi */
  141. /* Wiced WiFi */
  142. /* IoT Cloud */
  143. /* security packages */
  144. /* language packages */
  145. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  146. /* XML: Extensible Markup Language */
  147. /* multimedia packages */
  148. /* LVGL: powerful and easy-to-use embedded GUI library */
  149. /* u8g2: a monochrome graphic library */
  150. /* tools packages */
  151. /* system packages */
  152. /* enhanced kernel services */
  153. /* acceleration: Assembly language or algorithmic acceleration packages */
  154. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  155. /* Micrium: Micrium software products porting for RT-Thread */
  156. /* peripheral libraries and drivers */
  157. /* sensors drivers */
  158. /* touch drivers */
  159. /* Kendryte SDK */
  160. /* AI packages */
  161. /* Signal Processing and Control Algorithm Packages */
  162. /* miscellaneous packages */
  163. /* project laboratory */
  164. /* samples: kernel and components samples */
  165. /* entertainment: terminal games and other interesting software packages */
  166. /* Arduino libraries */
  167. /* Projects */
  168. /* Sensors */
  169. /* Display */
  170. /* Timing */
  171. /* Data Processing */
  172. /* Data Storage */
  173. /* Communication */
  174. /* Device Control */
  175. /* Other */
  176. /* Signal IO */
  177. /* Uncategorized */
  178. /* Hardware Drivers */
  179. /* On-chip Peripheral Drivers */
  180. #define BSP_USING_UART
  181. #define RT_USING_UART1
  182. /* Board extended module Drivers */
  183. #define PHYTIUM_ARCH_AARCH32
  184. /* Standalone Setting */
  185. #define TARGET_ARMV8_AARCH32
  186. #define USE_AARCH64_L1_TO_AARCH32
  187. /* Board Configuration */
  188. #define TARGET_E2000D
  189. #define TARGET_E2000
  190. #define DEFAULT_DEBUG_PRINT_UART1
  191. /* Components Configuration */
  192. #define USE_GIC
  193. #define ENABLE_GICV3
  194. #define USE_SERIAL
  195. /* Usart Configuration */
  196. #define ENABLE_Pl011_UART
  197. #define LOG_ERROR
  198. #define USE_DEFAULT_INTERRUPT_CONFIG
  199. #define INTERRUPT_ROLE_MASTER
  200. #endif