rtconfig.h 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
  4. /* RT-Thread Kernel */
  5. #define RT_NAME_MAX 8
  6. #define RT_ALIGN_SIZE 4
  7. #define RT_THREAD_PRIORITY_32
  8. #define RT_THREAD_PRIORITY_MAX 32
  9. #define RT_TICK_PER_SECOND 100
  10. #define RT_USING_OVERFLOW_CHECK
  11. #define RT_USING_HOOK
  12. #define RT_USING_IDLE_HOOK
  13. #define RT_IDLE_HOOK_LIST_SIZE 4
  14. #define IDLE_THREAD_STACK_SIZE 2048
  15. #define RT_USING_TIMER_SOFT
  16. #define RT_TIMER_THREAD_PRIO 4
  17. #define RT_TIMER_THREAD_STACK_SIZE 2048
  18. /* kservice optimization */
  19. /* end of kservice optimization */
  20. #define RT_DEBUG
  21. #define RT_DEBUG_COLOR
  22. /* Inter-Thread communication */
  23. #define RT_USING_SEMAPHORE
  24. #define RT_USING_MUTEX
  25. #define RT_USING_EVENT
  26. #define RT_USING_MAILBOX
  27. #define RT_USING_MESSAGEQUEUE
  28. /* end of Inter-Thread communication */
  29. /* Memory Management */
  30. #define RT_USING_MEMPOOL
  31. #define RT_USING_MEMHEAP
  32. #define RT_USING_SMALL_MEM
  33. #define RT_USING_MEMTRACE
  34. #define RT_USING_HEAP
  35. /* end of Memory Management */
  36. /* Kernel Device Object */
  37. #define RT_USING_DEVICE
  38. #define RT_USING_DEVICE_OPS
  39. #define RT_USING_CONSOLE
  40. #define RT_CONSOLEBUF_SIZE 128
  41. #define RT_CONSOLE_DEVICE_NAME "uart0"
  42. /* end of Kernel Device Object */
  43. #define RT_VER_NUM 0x40004
  44. /* end of RT-Thread Kernel */
  45. #define ARCH_CPU_64BIT
  46. /* RT-Thread Components */
  47. #define RT_USING_COMPONENTS_INIT
  48. #define RT_USING_USER_MAIN
  49. #define RT_MAIN_THREAD_STACK_SIZE 2048
  50. #define RT_MAIN_THREAD_PRIORITY 10
  51. /* C++ features */
  52. /* end of C++ features */
  53. /* Command shell */
  54. #define RT_USING_FINSH
  55. #define RT_USING_MSH
  56. #define FINSH_USING_MSH
  57. #define FINSH_THREAD_NAME "tshell"
  58. #define FINSH_THREAD_PRIORITY 20
  59. #define FINSH_THREAD_STACK_SIZE 4096
  60. #define FINSH_USING_HISTORY
  61. #define FINSH_HISTORY_LINES 5
  62. #define FINSH_USING_SYMTAB
  63. #define FINSH_CMD_SIZE 80
  64. #define MSH_USING_BUILT_IN_COMMANDS
  65. #define FINSH_USING_DESCRIPTION
  66. #define FINSH_ARG_MAX 10
  67. /* end of Command shell */
  68. /* Device virtual file system */
  69. #define RT_USING_DFS
  70. #define DFS_USING_WORKDIR
  71. #define DFS_FILESYSTEMS_MAX 2
  72. #define DFS_FILESYSTEM_TYPES_MAX 2
  73. #define DFS_FD_MAX 16
  74. #define RT_USING_DFS_ELMFAT
  75. /* elm-chan's FatFs, Generic FAT Filesystem Module */
  76. #define RT_DFS_ELM_CODE_PAGE 437
  77. #define RT_DFS_ELM_WORD_ACCESS
  78. #define RT_DFS_ELM_USE_LFN_3
  79. #define RT_DFS_ELM_USE_LFN 3
  80. #define RT_DFS_ELM_LFN_UNICODE_0
  81. #define RT_DFS_ELM_LFN_UNICODE 0
  82. #define RT_DFS_ELM_MAX_LFN 255
  83. #define RT_DFS_ELM_DRIVES 2
  84. #define RT_DFS_ELM_MAX_SECTOR_SIZE 512
  85. #define RT_DFS_ELM_REENTRANT
  86. #define RT_DFS_ELM_MUTEX_TIMEOUT 3000
  87. /* end of elm-chan's FatFs, Generic FAT Filesystem Module */
  88. #define RT_USING_DFS_DEVFS
  89. /* end of Device virtual file system */
  90. /* Device Drivers */
  91. #define RT_USING_DEVICE_IPC
  92. #define RT_PIPE_BUFSZ 512
  93. #define RT_USING_SERIAL
  94. #define RT_USING_SERIAL_V1
  95. #define RT_SERIAL_RB_BUFSZ 64
  96. #define RT_USING_PIN
  97. #define RT_USING_RTC
  98. /* Using USB */
  99. /* end of Using USB */
  100. /* end of Device Drivers */
  101. /* POSIX layer and C standard library */
  102. #define RT_USING_LIBC
  103. #define RT_USING_POSIX
  104. #define RT_LIBC_USING_TIME
  105. #define RT_LIBC_DEFAULT_TIMEZONE 8
  106. /* end of POSIX layer and C standard library */
  107. /* Network */
  108. /* Socket abstraction layer */
  109. /* end of Socket abstraction layer */
  110. /* Network interface device */
  111. /* end of Network interface device */
  112. /* light weight TCP/IP stack */
  113. /* end of light weight TCP/IP stack */
  114. /* AT commands */
  115. /* end of AT commands */
  116. /* end of Network */
  117. /* VBUS(Virtual Software BUS) */
  118. /* end of VBUS(Virtual Software BUS) */
  119. /* Utilities */
  120. /* end of Utilities */
  121. /* end of RT-Thread Components */
  122. /* RT-Thread Utestcases */
  123. /* end of RT-Thread Utestcases */
  124. /* RT-Thread online packages */
  125. /* IoT - internet of things */
  126. /* Wi-Fi */
  127. /* Marvell WiFi */
  128. /* end of Marvell WiFi */
  129. /* Wiced WiFi */
  130. /* end of Wiced WiFi */
  131. /* end of Wi-Fi */
  132. /* IoT Cloud */
  133. /* end of IoT Cloud */
  134. /* end of IoT - internet of things */
  135. /* security packages */
  136. /* end of security packages */
  137. /* language packages */
  138. /* end of language packages */
  139. /* multimedia packages */
  140. /* lvgl: powerful and easy-to-use embedded GUI library */
  141. /* end of lvgl: powerful and easy-to-use embedded GUI library */
  142. /* u8g2: a monochrome graphic library */
  143. /* end of u8g2: a monochrome graphic library */
  144. /* end of multimedia packages */
  145. /* tools packages */
  146. /* end of tools packages */
  147. /* system packages */
  148. /* acceleration: Assembly language or algorithmic acceleration packages */
  149. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  150. /* Micrium: Micrium software products porting for RT-Thread */
  151. /* end of Micrium: Micrium software products porting for RT-Thread */
  152. /* end of system packages */
  153. /* peripheral libraries and drivers */
  154. /* end of peripheral libraries and drivers */
  155. /* AI packages */
  156. /* end of AI packages */
  157. /* miscellaneous packages */
  158. /* samples: kernel and components samples */
  159. /* end of samples: kernel and components samples */
  160. /* entertainment: terminal games and other interesting software packages */
  161. /* end of entertainment: terminal games and other interesting software packages */
  162. /* end of miscellaneous packages */
  163. /* end of RT-Thread online packages */
  164. #define SOC_VIRT64_AARCH64
  165. /* AARCH64 qemu virt64 configs */
  166. #define BSP_SUPPORT_FPU
  167. #define BSP_USING_UART
  168. #define RT_USING_UART0
  169. #define BSP_USING_VIRTIO_BLK
  170. #define RT_USING_VIRTIO_BLK0
  171. #define BSP_USING_GIC
  172. /* end of AARCH64 qemu virt64 configs */
  173. #endif