rtconfig.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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 6
  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 1000
  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 512
  15. /* kservice optimization */
  16. /* end of kservice optimization */
  17. #define RT_DEBUG
  18. #define RT_DEBUG_COLOR
  19. /* Inter-Thread communication */
  20. #define RT_USING_SEMAPHORE
  21. #define RT_USING_MUTEX
  22. #define RT_USING_EVENT
  23. #define RT_USING_MAILBOX
  24. #define RT_USING_MESSAGEQUEUE
  25. /* end of Inter-Thread communication */
  26. /* Memory Management */
  27. #define RT_USING_MEMPOOL
  28. #define RT_USING_SMALL_MEM
  29. #define RT_USING_HEAP
  30. /* end of Memory Management */
  31. /* Kernel Device Object */
  32. #define RT_USING_DEVICE
  33. #define RT_USING_INTERRUPT_INFO
  34. #define RT_USING_CONSOLE
  35. #define RT_CONSOLEBUF_SIZE 128
  36. #define RT_CONSOLE_DEVICE_NAME "uart1"
  37. /* end of Kernel Device Object */
  38. #define RT_VER_NUM 0x40005
  39. /* end of RT-Thread Kernel */
  40. #define ARCH_ARM
  41. #define RT_USING_CPU_FFS
  42. #define ARCH_ARM_CORTEX_A
  43. #define RT_USING_GIC_V2
  44. #define ARCH_ARM_CORTEX_A9
  45. /* RT-Thread Components */
  46. #define RT_USING_COMPONENTS_INIT
  47. /* C++ features */
  48. /* end of C++ features */
  49. /* Command shell */
  50. #define RT_USING_FINSH
  51. #define RT_USING_MSH
  52. #define FINSH_USING_MSH
  53. #define FINSH_THREAD_NAME "tshell"
  54. #define FINSH_THREAD_PRIORITY 20
  55. #define FINSH_THREAD_STACK_SIZE 4096
  56. #define FINSH_USING_HISTORY
  57. #define FINSH_HISTORY_LINES 5
  58. #define FINSH_USING_SYMTAB
  59. #define FINSH_CMD_SIZE 80
  60. #define MSH_USING_BUILT_IN_COMMANDS
  61. #define FINSH_USING_DESCRIPTION
  62. #define FINSH_ARG_MAX 10
  63. /* end of Command shell */
  64. /* Device virtual file system */
  65. #define RT_USING_DFS
  66. #define DFS_USING_WORKDIR
  67. #define DFS_FILESYSTEMS_MAX 2
  68. #define DFS_FILESYSTEM_TYPES_MAX 2
  69. #define DFS_FD_MAX 4
  70. #define RT_USING_DFS_DEVFS
  71. /* end of Device virtual file system */
  72. /* Device Drivers */
  73. #define RT_USING_DEVICE_IPC
  74. #define RT_PIPE_BUFSZ 512
  75. #define RT_USING_SERIAL
  76. #define RT_USING_SERIAL_V1
  77. #define RT_SERIAL_USING_DMA
  78. #define RT_SERIAL_RB_BUFSZ 64
  79. #define RT_USING_PIN
  80. /* Using USB */
  81. /* end of Using USB */
  82. /* end of Device Drivers */
  83. /* POSIX layer and C standard library */
  84. #define RT_USING_LIBC
  85. #define RT_USING_PTHREADS
  86. #define PTHREAD_NUM_MAX 8
  87. #define RT_USING_POSIX
  88. #define RT_LIBC_USING_TIME
  89. #define RT_LIBC_DEFAULT_TIMEZONE 8
  90. /* end of POSIX layer and C standard library */
  91. /* Network */
  92. /* Socket abstraction layer */
  93. /* end of Socket abstraction layer */
  94. /* Network interface device */
  95. /* end of Network interface device */
  96. /* light weight TCP/IP stack */
  97. /* end of light weight TCP/IP stack */
  98. /* AT commands */
  99. /* end of AT commands */
  100. /* end of Network */
  101. /* VBUS(Virtual Software BUS) */
  102. #define RT_USING_VBUS
  103. #define RT_VBUS_USING_TESTS
  104. #define _RT_VBUS_RING_BASE 0x6f800000
  105. #define _RT_VBUS_RING_SZ 2097152
  106. #define RT_VBUS_GUEST_VIRQ 14
  107. #define RT_VBUS_HOST_VIRQ 15
  108. #define RT_VBUS_SHELL_DEV_NAME "vbser0"
  109. #define RT_VBUS_RFS_DEV_NAME "rfs"
  110. /* end of VBUS(Virtual Software BUS) */
  111. /* Utilities */
  112. /* end of Utilities */
  113. /* end of RT-Thread Components */
  114. /* RT-Thread Utestcases */
  115. /* end of RT-Thread Utestcases */
  116. /* RT-Thread online packages */
  117. /* IoT - internet of things */
  118. /* Wi-Fi */
  119. /* Marvell WiFi */
  120. /* end of Marvell WiFi */
  121. /* Wiced WiFi */
  122. /* end of Wiced WiFi */
  123. /* end of Wi-Fi */
  124. /* IoT Cloud */
  125. /* end of IoT Cloud */
  126. /* end of IoT - internet of things */
  127. /* security packages */
  128. /* end of security packages */
  129. /* language packages */
  130. /* end of language packages */
  131. /* multimedia packages */
  132. /* LVGL: powerful and easy-to-use embedded GUI library */
  133. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  134. /* u8g2: a monochrome graphic library */
  135. /* end of u8g2: a monochrome graphic library */
  136. /* PainterEngine: A cross-platform graphics application framework written in C language */
  137. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  138. /* end of multimedia packages */
  139. /* tools packages */
  140. /* end of tools packages */
  141. /* system packages */
  142. /* enhanced kernel services */
  143. /* end of enhanced kernel services */
  144. /* acceleration: Assembly language or algorithmic acceleration packages */
  145. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  146. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  147. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  148. /* Micrium: Micrium software products porting for RT-Thread */
  149. /* end of Micrium: Micrium software products porting for RT-Thread */
  150. /* end of system packages */
  151. /* peripheral libraries and drivers */
  152. /* end of peripheral libraries and drivers */
  153. /* AI packages */
  154. /* end of AI packages */
  155. /* miscellaneous packages */
  156. /* samples: kernel and components samples */
  157. /* end of samples: kernel and components samples */
  158. /* entertainment: terminal games and other interesting software packages */
  159. /* end of entertainment: terminal games and other interesting software packages */
  160. /* end of miscellaneous packages */
  161. /* end of RT-Thread online packages */
  162. #define SOC_VEXPRESS_GEMINI
  163. #define RT_USING_UART1
  164. #endif