rtconfig.h 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. #define SOC_STM32H723ZG
  4. #define BOARD_STM32H723_NUCLEO
  5. /* RT-Thread Kernel */
  6. /* klibc options */
  7. /* ------------rt_memset options------------ */
  8. /* ------------rt_memcpy options------------ */
  9. /* ------------rt_memmove options------------ */
  10. /* ------------rt_memcmp options------------ */
  11. /* ------------rt_strstr options------------ */
  12. /* ------------rt_strcasecmp options------------ */
  13. /* ------------rt_strncpy options------------ */
  14. /* ------------rt_strcpy options------------ */
  15. /* ------------rt_strncmp options------------ */
  16. /* ------------rt_strcmp options------------ */
  17. /* ------------rt_strlen options------------ */
  18. /* ------------rt_strlen options------------ */
  19. /* ------------rt_strnlen options------------ */
  20. /* ------------rt_vsscanf options------------ */
  21. /* ------------rt_vsnprintf options------------ */
  22. /* end of klibc options */
  23. #define RT_NAME_MAX 8
  24. #define RT_CPUS_NR 1
  25. #define RT_ALIGN_SIZE 8
  26. #define RT_THREAD_PRIORITY_32
  27. #define RT_THREAD_PRIORITY_MAX 32
  28. #define RT_TICK_PER_SECOND 1000
  29. #define RT_USING_OVERFLOW_CHECK
  30. #define RT_USING_HOOK
  31. #define RT_HOOK_USING_FUNC_PTR
  32. #define RT_USING_IDLE_HOOK
  33. #define RT_IDLE_HOOK_LIST_SIZE 4
  34. #define IDLE_THREAD_STACK_SIZE 256
  35. /* kservice options */
  36. /* end of kservice options */
  37. #define RT_USING_DEBUG
  38. #define RT_DEBUGING_ASSERT
  39. #define RT_DEBUGING_COLOR
  40. #define RT_DEBUGING_CONTEXT
  41. /* Inter-Thread communication */
  42. #define RT_USING_SEMAPHORE
  43. #define RT_USING_MUTEX
  44. #define RT_USING_EVENT
  45. #define RT_USING_MAILBOX
  46. #define RT_USING_MESSAGEQUEUE
  47. /* end of Inter-Thread communication */
  48. /* Memory Management */
  49. #define RT_USING_MEMPOOL
  50. #define RT_USING_SMALL_MEM
  51. #define RT_USING_SMALL_MEM_AS_HEAP
  52. #define RT_USING_HEAP
  53. /* end of Memory Management */
  54. #define RT_USING_DEVICE
  55. #define RT_USING_CONSOLE
  56. #define RT_CONSOLEBUF_SIZE 128
  57. #define RT_CONSOLE_DEVICE_NAME "uart3"
  58. #define RT_VER_NUM 0x50200
  59. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  60. /* end of RT-Thread Kernel */
  61. #define RT_USING_CACHE
  62. #define RT_USING_HW_ATOMIC
  63. #define RT_USING_CPU_FFS
  64. #define ARCH_ARM
  65. #define ARCH_ARM_CORTEX_M
  66. #define ARCH_ARM_CORTEX_M7
  67. /* RT-Thread Components */
  68. #define RT_USING_COMPONENTS_INIT
  69. #define RT_USING_USER_MAIN
  70. #define RT_MAIN_THREAD_STACK_SIZE 2048
  71. #define RT_MAIN_THREAD_PRIORITY 10
  72. #define RT_USING_MSH
  73. #define RT_USING_FINSH
  74. #define FINSH_USING_MSH
  75. #define FINSH_THREAD_NAME "tshell"
  76. #define FINSH_THREAD_PRIORITY 20
  77. #define FINSH_THREAD_STACK_SIZE 4096
  78. #define FINSH_USING_HISTORY
  79. #define FINSH_HISTORY_LINES 5
  80. #define FINSH_USING_SYMTAB
  81. #define FINSH_CMD_SIZE 80
  82. #define MSH_USING_BUILT_IN_COMMANDS
  83. #define FINSH_USING_DESCRIPTION
  84. #define FINSH_ARG_MAX 10
  85. #define FINSH_USING_OPTION_COMPLETION
  86. /* DFS: device virtual file system */
  87. /* end of DFS: device virtual file system */
  88. /* Device Drivers */
  89. #define RT_USING_DEVICE_IPC
  90. #define RT_UNAMED_PIPE_NUMBER 64
  91. #define RT_USING_SERIAL
  92. #define RT_USING_SERIAL_V1
  93. #define RT_SERIAL_USING_DMA
  94. #define RT_SERIAL_RB_BUFSZ 64
  95. #define RT_USING_PIN
  96. /* end of Device Drivers */
  97. /* C/C++ and POSIX layer */
  98. /* ISO-ANSI C layer */
  99. /* Timezone and Daylight Saving Time */
  100. #define RT_LIBC_USING_LIGHT_TZ_DST
  101. #define RT_LIBC_TZ_DEFAULT_HOUR 8
  102. #define RT_LIBC_TZ_DEFAULT_MIN 0
  103. #define RT_LIBC_TZ_DEFAULT_SEC 0
  104. /* end of Timezone and Daylight Saving Time */
  105. /* end of ISO-ANSI C layer */
  106. /* POSIX (Portable Operating System Interface) layer */
  107. /* Interprocess Communication (IPC) */
  108. /* Socket is in the 'Network' category */
  109. /* end of Interprocess Communication (IPC) */
  110. /* end of POSIX (Portable Operating System Interface) layer */
  111. /* end of C/C++ and POSIX layer */
  112. /* Network */
  113. /* end of Network */
  114. /* Memory protection */
  115. /* end of Memory protection */
  116. /* Utilities */
  117. /* end of Utilities */
  118. /* Using USB legacy version */
  119. /* end of Using USB legacy version */
  120. /* end of RT-Thread Components */
  121. /* RT-Thread Utestcases */
  122. /* end of RT-Thread Utestcases */
  123. /* RT-Thread online packages */
  124. /* IoT - internet of things */
  125. /* Wi-Fi */
  126. /* Marvell WiFi */
  127. /* end of Marvell WiFi */
  128. /* Wiced WiFi */
  129. /* end of Wiced WiFi */
  130. /* CYW43012 WiFi */
  131. /* end of CYW43012 WiFi */
  132. /* BL808 WiFi */
  133. /* end of BL808 WiFi */
  134. /* CYW43439 WiFi */
  135. /* end of CYW43439 WiFi */
  136. /* end of Wi-Fi */
  137. /* IoT Cloud */
  138. /* end of IoT Cloud */
  139. /* end of IoT - internet of things */
  140. /* security packages */
  141. /* end of security packages */
  142. /* language packages */
  143. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  144. /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
  145. /* XML: Extensible Markup Language */
  146. /* end of XML: Extensible Markup Language */
  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. /* end of multimedia packages */
  154. /* tools packages */
  155. /* end of tools packages */
  156. /* system packages */
  157. /* enhanced kernel services */
  158. /* end of enhanced kernel services */
  159. /* acceleration: Assembly language or algorithmic acceleration packages */
  160. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  161. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  162. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  163. /* Micrium: Micrium software products porting for RT-Thread */
  164. /* end of Micrium: Micrium software products porting for RT-Thread */
  165. /* end of system packages */
  166. /* peripheral libraries and drivers */
  167. /* HAL & SDK Drivers */
  168. /* STM32 HAL & SDK Drivers */
  169. /* end of STM32 HAL & SDK Drivers */
  170. /* Infineon HAL Packages */
  171. /* end of Infineon HAL Packages */
  172. /* Kendryte SDK */
  173. /* end of Kendryte SDK */
  174. /* end of HAL & SDK Drivers */
  175. /* sensors drivers */
  176. /* end of sensors drivers */
  177. /* touch drivers */
  178. /* end of touch drivers */
  179. /* end of peripheral libraries and drivers */
  180. /* AI packages */
  181. /* end of AI packages */
  182. /* Signal Processing and Control Algorithm Packages */
  183. /* end of Signal Processing and Control Algorithm Packages */
  184. /* miscellaneous packages */
  185. /* project laboratory */
  186. /* end of project laboratory */
  187. /* samples: kernel and components samples */
  188. /* end of samples: kernel and components samples */
  189. /* entertainment: terminal games and other interesting software packages */
  190. /* end of entertainment: terminal games and other interesting software packages */
  191. /* end of miscellaneous packages */
  192. /* Arduino libraries */
  193. /* Projects and Demos */
  194. /* end of Projects and Demos */
  195. /* Sensors */
  196. /* end of Sensors */
  197. /* Display */
  198. /* end of Display */
  199. /* Timing */
  200. /* end of Timing */
  201. /* Data Processing */
  202. /* end of Data Processing */
  203. /* Data Storage */
  204. /* Communication */
  205. /* end of Communication */
  206. /* Device Control */
  207. /* end of Device Control */
  208. /* Other */
  209. /* end of Other */
  210. /* Signal IO */
  211. /* end of Signal IO */
  212. /* Uncategorized */
  213. /* end of Arduino libraries */
  214. /* end of RT-Thread online packages */
  215. #define SOC_FAMILY_STM32
  216. #define SOC_SERIES_STM32H7
  217. #define BOARD_SERIES_STM32_NUCLEO_144
  218. /* Hardware Drivers Config */
  219. /* Onboard Peripheral Drivers */
  220. /* On-chip Peripheral Drivers */
  221. #define BSP_USING_GPIO
  222. #define BSP_USING_UART
  223. #define BSP_USING_UART3
  224. /* end of On-chip Peripheral Drivers */
  225. /* Board extended module Drivers */
  226. /* end of Hardware Drivers Config */
  227. #endif