rtconfig.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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_USING_IDLE_HOOK
  14. #define RT_IDLE_HOOK_LIST_SIZE 4
  15. #define IDLE_THREAD_STACK_SIZE 2048
  16. #define RT_USING_TIMER_SOFT
  17. #define RT_TIMER_THREAD_PRIO 4
  18. #define RT_TIMER_THREAD_STACK_SIZE 2048
  19. #define RT_DEBUG
  20. #define RT_DEBUG_COLOR
  21. /* Inter-Thread communication */
  22. #define RT_USING_SEMAPHORE
  23. #define RT_USING_MUTEX
  24. #define RT_USING_EVENT
  25. #define RT_USING_MAILBOX
  26. #define RT_USING_MESSAGEQUEUE
  27. /* Memory Management */
  28. #define RT_USING_MEMPOOL
  29. #define RT_USING_MEMHEAP
  30. #define RT_USING_SMALL_MEM
  31. #define RT_USING_MEMTRACE
  32. #define RT_USING_HEAP
  33. /* Kernel Device Object */
  34. #define RT_USING_DEVICE
  35. #define RT_USING_DEVICE_OPS
  36. #define RT_USING_CONSOLE
  37. #define RT_CONSOLEBUF_SIZE 512
  38. #define RT_CONSOLE_DEVICE_NAME "uart1"
  39. #define RT_VER_NUM 0x40003
  40. #define ARCH_CPU_64BIT
  41. #define ARCH_ARMV8
  42. /* RT-Thread Components */
  43. #define RT_USING_COMPONENTS_INIT
  44. #define RT_USING_USER_MAIN
  45. #define RT_MAIN_THREAD_STACK_SIZE 4096
  46. #define RT_MAIN_THREAD_PRIORITY 10
  47. /* C++ features */
  48. /* Command shell */
  49. #define RT_USING_FINSH
  50. #define FINSH_THREAD_NAME "tshell"
  51. #define FINSH_USING_HISTORY
  52. #define FINSH_HISTORY_LINES 5
  53. #define FINSH_USING_SYMTAB
  54. #define FINSH_USING_DESCRIPTION
  55. #define FINSH_THREAD_PRIORITY 20
  56. #define FINSH_THREAD_STACK_SIZE 4096
  57. #define FINSH_CMD_SIZE 80
  58. #define FINSH_USING_MSH
  59. #define FINSH_USING_MSH_DEFAULT
  60. #define FINSH_USING_MSH_ONLY
  61. #define FINSH_ARG_MAX 10
  62. /* Device virtual file system */
  63. #define RT_USING_DFS
  64. #define DFS_USING_WORKDIR
  65. #define DFS_FILESYSTEMS_MAX 2
  66. #define DFS_FILESYSTEM_TYPES_MAX 2
  67. #define DFS_FD_MAX 16
  68. #define RT_USING_DFS_ELMFAT
  69. /* elm-chan's FatFs, Generic FAT Filesystem Module */
  70. #define RT_DFS_ELM_CODE_PAGE 437
  71. #define RT_DFS_ELM_WORD_ACCESS
  72. #define RT_DFS_ELM_USE_LFN_3
  73. #define RT_DFS_ELM_USE_LFN 3
  74. #define RT_DFS_ELM_MAX_LFN 255
  75. #define RT_DFS_ELM_DRIVES 2
  76. #define RT_DFS_ELM_MAX_SECTOR_SIZE 512
  77. #define RT_DFS_ELM_REENTRANT
  78. #define RT_USING_DFS_DEVFS
  79. /* Device Drivers */
  80. #define RT_USING_DEVICE_IPC
  81. #define RT_PIPE_BUFSZ 512
  82. #define RT_USING_SERIAL
  83. #define RT_SERIAL_RB_BUFSZ 64
  84. #define RT_USING_HWTIMER
  85. #define RT_USING_I2C
  86. #define RT_I2C_DEBUG
  87. #define RT_USING_I2C_BITOPS
  88. #define RT_USING_PIN
  89. #define RT_USING_SDIO
  90. #define RT_SDIO_STACK_SIZE 2048
  91. #define RT_SDIO_THREAD_PRIORITY 15
  92. #define RT_MMCSD_STACK_SIZE 4096
  93. #define RT_MMCSD_THREAD_PREORITY 22
  94. #define RT_MMCSD_MAX_PARTITION 16
  95. #define RT_SDIO_DEBUG
  96. #define RT_USING_SPI
  97. #define RT_USING_WDT
  98. /* Using USB */
  99. /* POSIX layer and C standard library */
  100. #define RT_USING_LIBC
  101. #define RT_USING_POSIX
  102. /* Network */
  103. /* Socket abstraction layer */
  104. /* Network interface device */
  105. /* light weight TCP/IP stack */
  106. /* AT commands */
  107. /* VBUS(Virtual Software BUS) */
  108. /* Utilities */
  109. /* RT-Thread online packages */
  110. /* IoT - internet of things */
  111. /* Wi-Fi */
  112. /* Marvell WiFi */
  113. /* Wiced WiFi */
  114. /* IoT Cloud */
  115. /* security packages */
  116. /* language packages */
  117. /* multimedia packages */
  118. /* tools packages */
  119. /* system packages */
  120. /* peripheral libraries and drivers */
  121. /* miscellaneous packages */
  122. /* samples: kernel and components samples */
  123. #define BCM2836_SOC
  124. /* Hardware Drivers Config */
  125. /* BCM Peripheral Drivers */
  126. #define BSP_USING_UART
  127. #define RT_USING_UART1
  128. #define BSP_USING_PIN
  129. #define BSP_USING_CORETIMER
  130. #define BSP_USING_SYSTIMER
  131. #define RT_USING_SYSTIMER1
  132. #define RT_USING_SYSTIMER3
  133. #define BSP_USING_I2C
  134. #define BSP_USING_I2C1
  135. #define BSP_USING_SPI
  136. #define BSP_USING_SPI0_BUS
  137. #define BSP_USING_SPI0_DEVICE0
  138. #define BSP_USING_WDT
  139. #define BSP_USING_SDIO
  140. #define BSP_USING_SDIO0
  141. /* Board Peripheral Drivers */
  142. #define BSP_USING_HDMI
  143. #define BSP_USING_HDMI_DISPLAY
  144. #endif