rtconfig.h 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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 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 1024
  15. /* kservice optimization */
  16. /* end of kservice optimization */
  17. #define RT_DEBUG
  18. /* Inter-Thread communication */
  19. #define RT_USING_SEMAPHORE
  20. #define RT_USING_MUTEX
  21. #define RT_USING_EVENT
  22. #define RT_USING_MAILBOX
  23. #define RT_USING_MESSAGEQUEUE
  24. /* end of Inter-Thread communication */
  25. /* Memory Management */
  26. #define RT_USING_MEMPOOL
  27. #define RT_USING_SMALL_MEM
  28. #define RT_USING_HEAP
  29. /* end of Memory Management */
  30. /* Kernel Device Object */
  31. #define RT_USING_DEVICE
  32. #define RT_USING_CONSOLE
  33. #define RT_CONSOLEBUF_SIZE 128
  34. #define RT_CONSOLE_DEVICE_NAME "uart1"
  35. /* end of Kernel Device Object */
  36. #define RT_VER_NUM 0x40005
  37. /* end of RT-Thread Kernel */
  38. #define ARCH_ARM
  39. #define RT_USING_CPU_FFS
  40. #define ARCH_ARM_CORTEX_M
  41. #define ARCH_ARM_CORTEX_M7
  42. /* RT-Thread Components */
  43. #define RT_USING_COMPONENTS_INIT
  44. #define RT_USING_USER_MAIN
  45. #define RT_MAIN_THREAD_STACK_SIZE 2048
  46. #define RT_MAIN_THREAD_PRIORITY 10
  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. /* end of Device virtual file system */
  66. /* Device Drivers */
  67. #define RT_USING_DEVICE_IPC
  68. #define RT_PIPE_BUFSZ 512
  69. #define RT_USING_SERIAL
  70. #define RT_USING_SERIAL_V1
  71. #define RT_SERIAL_USING_DMA
  72. #define RT_SERIAL_RB_BUFSZ 64
  73. #define RT_USING_PIN
  74. /* Using USB */
  75. /* end of Using USB */
  76. /* end of Device Drivers */
  77. /* POSIX layer and C standard library */
  78. #define RT_LIBC_USING_TIME
  79. #define RT_LIBC_DEFAULT_TIMEZONE 8
  80. /* end of POSIX layer and C standard library */
  81. /* Network */
  82. /* Socket abstraction layer */
  83. /* end of Socket abstraction layer */
  84. /* Network interface device */
  85. /* end of Network interface device */
  86. /* light weight TCP/IP stack */
  87. /* end of light weight TCP/IP stack */
  88. /* AT commands */
  89. /* end of AT commands */
  90. /* end of Network */
  91. /* VBUS(Virtual Software BUS) */
  92. /* end of VBUS(Virtual Software BUS) */
  93. /* Utilities */
  94. /* end of Utilities */
  95. /* end of RT-Thread Components */
  96. /* RT-Thread Utestcases */
  97. /* end of RT-Thread Utestcases */
  98. /* RT-Thread online packages */
  99. /* IoT - internet of things */
  100. /* Wi-Fi */
  101. /* Marvell WiFi */
  102. /* end of Marvell WiFi */
  103. /* Wiced WiFi */
  104. /* end of Wiced WiFi */
  105. /* end of Wi-Fi */
  106. /* IoT Cloud */
  107. /* end of IoT Cloud */
  108. /* end of IoT - internet of things */
  109. /* security packages */
  110. /* end of security packages */
  111. /* language packages */
  112. /* end of language packages */
  113. /* multimedia packages */
  114. /* LVGL: powerful and easy-to-use embedded GUI library */
  115. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  116. /* u8g2: a monochrome graphic library */
  117. /* end of u8g2: a monochrome graphic library */
  118. /* PainterEngine: A cross-platform graphics application framework written in C language */
  119. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  120. /* end of multimedia packages */
  121. /* tools packages */
  122. /* end of tools packages */
  123. /* system packages */
  124. /* enhanced kernel services */
  125. /* end of enhanced kernel services */
  126. /* acceleration: Assembly language or algorithmic acceleration packages */
  127. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  128. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  129. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  130. /* Micrium: Micrium software products porting for RT-Thread */
  131. /* end of Micrium: Micrium software products porting for RT-Thread */
  132. /* end of system packages */
  133. /* peripheral libraries and drivers */
  134. /* end of peripheral libraries and drivers */
  135. /* AI packages */
  136. /* end of AI packages */
  137. /* miscellaneous packages */
  138. /* samples: kernel and components samples */
  139. /* end of samples: kernel and components samples */
  140. /* entertainment: terminal games and other interesting software packages */
  141. /* end of entertainment: terminal games and other interesting software packages */
  142. /* end of miscellaneous packages */
  143. /* end of RT-Thread online packages */
  144. #define SOC_FAMILY_STM32
  145. #define SOC_SERIES_STM32H7
  146. /* Hardware Drivers Config */
  147. #define SOC_STM32H743II
  148. /* Onboard Peripheral Drivers */
  149. /* end of Onboard Peripheral Drivers */
  150. /* On-chip Peripheral Drivers */
  151. #define BSP_USING_GPIO
  152. #define BSP_USING_UART
  153. #define BSP_USING_UART1
  154. /* end of On-chip Peripheral Drivers */
  155. /* Board extended module Drivers */
  156. /* end of Hardware Drivers Config */
  157. #endif