rtconfig.h 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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 256
  15. #define RT_USING_TIMER_SOFT
  16. #define RT_TIMER_THREAD_PRIO 4
  17. #define RT_TIMER_THREAD_STACK_SIZE 512
  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_MEMHEAP_AUTO_BINDING
  33. #define RT_USING_MEMHEAP_AS_HEAP
  34. #define RT_USING_HEAP
  35. /* end of Memory Management */
  36. /* Kernel Device Object */
  37. #define RT_USING_DEVICE
  38. #define RT_USING_CONSOLE
  39. #define RT_CONSOLEBUF_SIZE 128
  40. #define RT_CONSOLE_DEVICE_NAME "uart3"
  41. /* end of Kernel Device Object */
  42. #define RT_VER_NUM 0x40005
  43. /* end of RT-Thread Kernel */
  44. #define ARCH_ARM
  45. #define RT_USING_CPU_FFS
  46. #define ARCH_ARM_CORTEX_M
  47. #define ARCH_ARM_CORTEX_M4
  48. /* RT-Thread Components */
  49. #define RT_USING_COMPONENTS_INIT
  50. #define RT_USING_USER_MAIN
  51. #define RT_MAIN_THREAD_STACK_SIZE 2048
  52. #define RT_MAIN_THREAD_PRIORITY 10
  53. /* C++ features */
  54. /* end of C++ features */
  55. /* Command shell */
  56. #define RT_USING_FINSH
  57. #define RT_USING_MSH
  58. #define FINSH_USING_MSH
  59. #define FINSH_THREAD_NAME "tshell"
  60. #define FINSH_THREAD_PRIORITY 20
  61. #define FINSH_THREAD_STACK_SIZE 4096
  62. #define FINSH_USING_HISTORY
  63. #define FINSH_HISTORY_LINES 5
  64. #define FINSH_USING_SYMTAB
  65. #define FINSH_CMD_SIZE 80
  66. #define MSH_USING_BUILT_IN_COMMANDS
  67. #define FINSH_USING_DESCRIPTION
  68. #define FINSH_ARG_MAX 10
  69. /* end of Command shell */
  70. /* Device virtual file system */
  71. #define RT_USING_DFS
  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. /* end of elm-chan's FatFs, Generic FAT Filesystem Module */
  90. #define RT_USING_DFS_DEVFS
  91. /* end of Device virtual file system */
  92. /* Device Drivers */
  93. #define RT_USING_DEVICE_IPC
  94. #define RT_PIPE_BUFSZ 512
  95. #define RT_USING_SERIAL
  96. #define RT_USING_SERIAL_V1
  97. #define RT_SERIAL_USING_DMA
  98. #define RT_SERIAL_RB_BUFSZ 64
  99. #define RT_USING_PIN
  100. #define RT_USING_MTD_NOR
  101. #define RT_USING_SDIO
  102. #define RT_SDIO_STACK_SIZE 512
  103. #define RT_SDIO_THREAD_PRIORITY 15
  104. #define RT_MMCSD_STACK_SIZE 1024
  105. #define RT_MMCSD_THREAD_PREORITY 22
  106. #define RT_MMCSD_MAX_PARTITION 16
  107. /* Using USB */
  108. /* end of Using USB */
  109. /* end of Device Drivers */
  110. /* POSIX layer and C standard library */
  111. #define RT_USING_LIBC
  112. #define RT_USING_POSIX
  113. #define RT_LIBC_USING_TIME
  114. #define RT_LIBC_DEFAULT_TIMEZONE 8
  115. /* end of POSIX layer and C standard library */
  116. /* Network */
  117. /* Socket abstraction layer */
  118. /* end of Socket abstraction layer */
  119. /* Network interface device */
  120. /* end of Network interface device */
  121. /* light weight TCP/IP stack */
  122. /* end of light weight TCP/IP stack */
  123. /* AT commands */
  124. /* end of AT commands */
  125. /* end of Network */
  126. /* VBUS(Virtual Software BUS) */
  127. /* end of VBUS(Virtual Software BUS) */
  128. /* Utilities */
  129. /* end of Utilities */
  130. /* end of RT-Thread Components */
  131. /* RT-Thread Utestcases */
  132. /* end of RT-Thread Utestcases */
  133. /* RT-Thread online packages */
  134. /* IoT - internet of things */
  135. /* Wi-Fi */
  136. /* Marvell WiFi */
  137. /* end of Marvell WiFi */
  138. /* Wiced WiFi */
  139. /* end of Wiced WiFi */
  140. /* end of Wi-Fi */
  141. /* IoT Cloud */
  142. /* end of IoT Cloud */
  143. /* end of IoT - internet of things */
  144. /* security packages */
  145. /* end of security packages */
  146. /* language packages */
  147. /* end of language packages */
  148. /* multimedia packages */
  149. /* LVGL: powerful and easy-to-use embedded GUI library */
  150. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  151. /* u8g2: a monochrome graphic library */
  152. /* end of u8g2: a monochrome graphic library */
  153. /* PainterEngine: A cross-platform graphics application framework written in C language */
  154. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  155. /* end of multimedia packages */
  156. /* tools packages */
  157. /* end of tools packages */
  158. /* system packages */
  159. /* enhanced kernel services */
  160. /* end of enhanced kernel services */
  161. /* acceleration: Assembly language or algorithmic acceleration packages */
  162. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  163. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  164. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  165. /* Micrium: Micrium software products porting for RT-Thread */
  166. /* end of Micrium: Micrium software products porting for RT-Thread */
  167. /* end of system packages */
  168. /* peripheral libraries and drivers */
  169. /* end of peripheral libraries and drivers */
  170. /* AI packages */
  171. /* end of AI packages */
  172. /* miscellaneous packages */
  173. /* samples: kernel and components samples */
  174. /* end of samples: kernel and components samples */
  175. /* entertainment: terminal games and other interesting software packages */
  176. /* end of entertainment: terminal games and other interesting software packages */
  177. /* end of miscellaneous packages */
  178. /* end of RT-Thread online packages */
  179. #define SOC_FAMILY_STM32
  180. #define SOC_SERIES_STM32F4
  181. /* Hardware Drivers Config */
  182. #define SOC_STM32F469NI
  183. /* Onboard Peripheral Drivers */
  184. /* end of Onboard Peripheral Drivers */
  185. /* On-chip Peripheral Drivers */
  186. #define BSP_USING_GPIO
  187. #define BSP_USING_UART
  188. #define BSP_USING_UART3
  189. /* end of On-chip Peripheral Drivers */
  190. /* Board extended module Drivers */
  191. /* end of Hardware Drivers Config */
  192. #endif