rtconfig.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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_ALIGN_SIZE 4
  8. #define RT_THREAD_PRIORITY_32
  9. #define RT_THREAD_PRIORITY_MAX 32
  10. #define RT_TICK_PER_SECOND 100
  11. #define RT_USING_OVERFLOW_CHECK
  12. #define RT_USING_HOOK
  13. #define RT_HOOK_USING_FUNC_PTR
  14. #define RT_USING_IDLE_HOOK
  15. #define RT_IDLE_HOOK_LIST_SIZE 4
  16. #define IDLE_THREAD_STACK_SIZE 8192
  17. #define RT_USING_TIMER_SOFT
  18. #define RT_TIMER_THREAD_PRIO 4
  19. #define RT_TIMER_THREAD_STACK_SIZE 4096
  20. /* kservice optimization */
  21. #define RT_KPRINTF_USING_LONGLONG
  22. #define RT_DEBUG
  23. #define RT_DEBUG_COLOR
  24. /* Inter-Thread communication */
  25. #define RT_USING_SEMAPHORE
  26. #define RT_USING_MUTEX
  27. #define RT_USING_EVENT
  28. #define RT_USING_MAILBOX
  29. #define RT_USING_MESSAGEQUEUE
  30. /* Memory Management */
  31. #define RT_PAGE_MAX_ORDER 11
  32. #define RT_USING_MEMPOOL
  33. #define RT_USING_SMALL_MEM
  34. #define RT_USING_MEMHEAP
  35. #define RT_MEMHEAP_FAST_MODE
  36. #define RT_USING_SMALL_MEM_AS_HEAP
  37. #define RT_USING_MEMTRACE
  38. #define RT_USING_HEAP
  39. /* Kernel Device Object */
  40. #define RT_USING_DEVICE
  41. #define RT_USING_DEVICE_OPS
  42. #define RT_USING_CONSOLE
  43. #define RT_CONSOLEBUF_SIZE 512
  44. #define RT_CONSOLE_DEVICE_NAME "uart1"
  45. #define RT_VER_NUM 0x50000
  46. #define ARCH_CPU_64BIT
  47. #define RT_USING_CACHE
  48. #define ARCH_MM_MMU
  49. #define ARCH_ARM
  50. #define ARCH_ARM_MMU
  51. #define ARCH_ARMV8
  52. /* RT-Thread Components */
  53. #define RT_USING_COMPONENTS_INIT
  54. #define RT_USING_USER_MAIN
  55. #define RT_MAIN_THREAD_STACK_SIZE 4096
  56. #define RT_MAIN_THREAD_PRIORITY 10
  57. #define RT_USING_MSH
  58. #define RT_USING_FINSH
  59. #define FINSH_USING_MSH
  60. #define FINSH_THREAD_NAME "tshell"
  61. #define FINSH_THREAD_PRIORITY 20
  62. #define FINSH_THREAD_STACK_SIZE 4096
  63. #define FINSH_USING_HISTORY
  64. #define FINSH_HISTORY_LINES 5
  65. #define FINSH_USING_SYMTAB
  66. #define FINSH_CMD_SIZE 80
  67. #define MSH_USING_BUILT_IN_COMMANDS
  68. #define FINSH_USING_DESCRIPTION
  69. #define FINSH_ARG_MAX 10
  70. #define RT_USING_DFS
  71. #define DFS_USING_POSIX
  72. #define DFS_USING_WORKDIR
  73. #define DFS_FILESYSTEMS_MAX 2
  74. #define DFS_FILESYSTEM_TYPES_MAX 2
  75. #define DFS_FD_MAX 16
  76. #define RT_USING_DFS_ELMFAT
  77. /* elm-chan's FatFs, Generic FAT Filesystem Module */
  78. #define RT_DFS_ELM_CODE_PAGE 437
  79. #define RT_DFS_ELM_WORD_ACCESS
  80. #define RT_DFS_ELM_USE_LFN_3
  81. #define RT_DFS_ELM_USE_LFN 3
  82. #define RT_DFS_ELM_LFN_UNICODE_0
  83. #define RT_DFS_ELM_LFN_UNICODE 0
  84. #define RT_DFS_ELM_MAX_LFN 255
  85. #define RT_DFS_ELM_DRIVES 2
  86. #define RT_DFS_ELM_MAX_SECTOR_SIZE 512
  87. #define RT_DFS_ELM_REENTRANT
  88. #define RT_DFS_ELM_MUTEX_TIMEOUT 3000
  89. #define RT_USING_DFS_DEVFS
  90. /* Device Drivers */
  91. #define RT_USING_DEVICE_IPC
  92. #define RT_UNAMED_PIPE_NUMBER 64
  93. #define RT_USING_SERIAL
  94. #define RT_USING_SERIAL_V1
  95. #define RT_SERIAL_RB_BUFSZ 64
  96. #define RT_USING_HWTIMER
  97. #define RT_USING_I2C
  98. #define RT_I2C_DEBUG
  99. #define RT_USING_I2C_BITOPS
  100. #define RT_USING_PIN
  101. #define RT_USING_SDIO
  102. #define RT_SDIO_STACK_SIZE 2048
  103. #define RT_SDIO_THREAD_PRIORITY 15
  104. #define RT_MMCSD_STACK_SIZE 4096
  105. #define RT_MMCSD_THREAD_PREORITY 22
  106. #define RT_MMCSD_MAX_PARTITION 16
  107. #define RT_SDIO_DEBUG
  108. #define RT_USING_SPI
  109. #define RT_USING_WDT
  110. /* Using USB */
  111. /* C/C++ and POSIX layer */
  112. #define RT_LIBC_DEFAULT_TIMEZONE 8
  113. /* POSIX (Portable Operating System Interface) layer */
  114. /* Interprocess Communication (IPC) */
  115. /* Socket is in the 'Network' category */
  116. /* Network */
  117. /* Utilities */
  118. /* RT-Thread Utestcases */
  119. /* RT-Thread online packages */
  120. /* IoT - internet of things */
  121. /* Wi-Fi */
  122. /* Marvell WiFi */
  123. /* Wiced WiFi */
  124. /* IoT Cloud */
  125. /* security packages */
  126. /* language packages */
  127. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  128. /* XML: Extensible Markup Language */
  129. /* multimedia packages */
  130. /* LVGL: powerful and easy-to-use embedded GUI library */
  131. /* u8g2: a monochrome graphic library */
  132. /* PainterEngine: A cross-platform graphics application framework written in C language */
  133. /* tools packages */
  134. /* system packages */
  135. /* enhanced kernel services */
  136. /* acceleration: Assembly language or algorithmic acceleration packages */
  137. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  138. /* Micrium: Micrium software products porting for RT-Thread */
  139. /* peripheral libraries and drivers */
  140. /* Kendryte SDK */
  141. /* AI packages */
  142. /* miscellaneous packages */
  143. /* project laboratory */
  144. /* samples: kernel and components samples */
  145. /* entertainment: terminal games and other interesting software packages */
  146. /* Arduino libraries */
  147. /* Projects */
  148. /* Sensors */
  149. /* Display */
  150. /* Timing */
  151. /* Data Processing */
  152. /* Data Storage */
  153. /* Communication */
  154. /* Device Control */
  155. /* Other */
  156. /* Signal IO */
  157. /* Uncategorized */
  158. #define BCM2836_SOC
  159. #define SOC_BCM283x
  160. /* Hardware Drivers Config */
  161. /* BCM Peripheral Drivers */
  162. #define BSP_USING_UART
  163. #define RT_USING_UART1
  164. #define BSP_USING_PIN
  165. #define BSP_USING_CORETIMER
  166. #define BSP_USING_SYSTIMER
  167. #define RT_USING_SYSTIMER1
  168. #define RT_USING_SYSTIMER3
  169. #define BSP_USING_I2C
  170. #define BSP_USING_I2C1
  171. #define BSP_USING_SPI
  172. #define BSP_USING_SPI0_BUS
  173. #define BSP_USING_SPI0_DEVICE0
  174. #define BSP_USING_WDT
  175. #define BSP_USING_SDIO
  176. #define BSP_USING_SDIO0
  177. /* Board Peripheral Drivers */
  178. #define BSP_USING_HDMI
  179. #define BSP_USING_HDMI_DISPLAY
  180. #endif