1
0

rtconfig.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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_CPUS_NR 1
  8. #define RT_ALIGN_SIZE 8
  9. #define RT_THREAD_PRIORITY_32
  10. #define RT_THREAD_PRIORITY_MAX 32
  11. #define RT_TICK_PER_SECOND 100
  12. #define RT_USING_OVERFLOW_CHECK
  13. #define RT_USING_HOOK
  14. #define RT_HOOK_USING_FUNC_PTR
  15. #define RT_USING_IDLE_HOOK
  16. #define RT_IDLE_HOOK_LIST_SIZE 4
  17. #define IDLE_THREAD_STACK_SIZE 256
  18. #define RT_USING_TIMER_SOFT
  19. #define RT_TIMER_THREAD_PRIO 4
  20. #define RT_TIMER_THREAD_STACK_SIZE 512
  21. /* kservice optimization */
  22. #define RT_USING_DEBUG
  23. #define RT_DEBUGING_COLOR
  24. #define RT_DEBUGING_CONTEXT
  25. /* Inter-Thread communication */
  26. #define RT_USING_SEMAPHORE
  27. #define RT_USING_MUTEX
  28. #define RT_USING_EVENT
  29. #define RT_USING_MAILBOX
  30. #define RT_USING_MESSAGEQUEUE
  31. /* Memory Management */
  32. #define RT_USING_MEMPOOL
  33. #define RT_USING_SMALL_MEM
  34. #define RT_USING_SMALL_MEM_AS_HEAP
  35. #define RT_USING_HEAP
  36. #define RT_USING_DEVICE
  37. #define RT_USING_DEVICE_OPS
  38. #define RT_USING_CONSOLE
  39. #define RT_CONSOLEBUF_SIZE 128
  40. #define RT_CONSOLE_DEVICE_NAME "uart1"
  41. #define RT_VER_NUM 0x50100
  42. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  43. /* RT-Thread Components */
  44. #define RT_USING_COMPONENTS_INIT
  45. #define RT_USING_USER_MAIN
  46. #define RT_MAIN_THREAD_STACK_SIZE 2048
  47. #define RT_MAIN_THREAD_PRIORITY 10
  48. #define RT_USING_MSH
  49. #define RT_USING_FINSH
  50. #define FINSH_USING_MSH
  51. #define FINSH_THREAD_NAME "tshell"
  52. #define FINSH_THREAD_PRIORITY 20
  53. #define FINSH_THREAD_STACK_SIZE 4096
  54. #define FINSH_USING_HISTORY
  55. #define FINSH_HISTORY_LINES 5
  56. #define FINSH_USING_SYMTAB
  57. #define FINSH_CMD_SIZE 80
  58. #define MSH_USING_BUILT_IN_COMMANDS
  59. #define FINSH_USING_DESCRIPTION
  60. #define FINSH_ARG_MAX 10
  61. #define FINSH_USING_OPTION_COMPLETION
  62. /* DFS: device virtual file system */
  63. /* Device Drivers */
  64. #define RT_USING_DEVICE_IPC
  65. #define RT_UNAMED_PIPE_NUMBER 64
  66. #define RT_USING_SERIAL
  67. #define RT_USING_SERIAL_V1
  68. #define RT_SERIAL_USING_DMA
  69. #define RT_SERIAL_RB_BUFSZ 64
  70. #define RT_USING_PIN
  71. /* Using USB */
  72. /* C/C++ and POSIX layer */
  73. /* ISO-ANSI C layer */
  74. /* Timezone and Daylight Saving Time */
  75. #define RT_LIBC_USING_LIGHT_TZ_DST
  76. #define RT_LIBC_TZ_DEFAULT_HOUR 8
  77. #define RT_LIBC_TZ_DEFAULT_MIN 0
  78. #define RT_LIBC_TZ_DEFAULT_SEC 0
  79. /* POSIX (Portable Operating System Interface) layer */
  80. /* Interprocess Communication (IPC) */
  81. /* Socket is in the 'Network' category */
  82. /* Network */
  83. /* Memory protection */
  84. /* Utilities */
  85. /* RT-Thread Utestcases */
  86. /* RT-Thread online packages */
  87. /* IoT - internet of things */
  88. /* Wi-Fi */
  89. /* Marvell WiFi */
  90. /* Wiced WiFi */
  91. /* CYW43012 WiFi */
  92. /* BL808 WiFi */
  93. /* CYW43439 WiFi */
  94. /* IoT Cloud */
  95. /* security packages */
  96. /* language packages */
  97. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  98. /* XML: Extensible Markup Language */
  99. /* multimedia packages */
  100. /* LVGL: powerful and easy-to-use embedded GUI library */
  101. /* u8g2: a monochrome graphic library */
  102. /* tools packages */
  103. /* system packages */
  104. /* enhanced kernel services */
  105. /* acceleration: Assembly language or algorithmic acceleration packages */
  106. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  107. /* Micrium: Micrium software products porting for RT-Thread */
  108. /* peripheral libraries and drivers */
  109. /* HAL & SDK Drivers */
  110. /* STM32 HAL & SDK Drivers */
  111. /* Kendryte SDK */
  112. /* sensors drivers */
  113. /* touch drivers */
  114. /* AI packages */
  115. /* Signal Processing and Control Algorithm Packages */
  116. /* miscellaneous packages */
  117. /* project laboratory */
  118. /* samples: kernel and components samples */
  119. /* entertainment: terminal games and other interesting software packages */
  120. /* Arduino libraries */
  121. /* Projects and Demos */
  122. /* Sensors */
  123. /* Display */
  124. /* Timing */
  125. /* Data Processing */
  126. /* Data Storage */
  127. /* Communication */
  128. /* Device Control */
  129. /* Other */
  130. /* Signal IO */
  131. /* Uncategorized */
  132. /* Hardware Drivers Config */
  133. #define SOC_ACM32F403RET7
  134. /* ACM32F403RET7 */
  135. #define SOC_SRAM_START_ADDR 0x20000000
  136. #define SOC_SRAM_SIZE 0xC0
  137. #define SOC_FLASH_START_ADDR 0x00000000
  138. #define SOC_FLASH_SIZE 0x8000
  139. /* Onboard Peripheral Drivers */
  140. /* On-chip Peripheral Drivers */
  141. /* Hardware GPIO */
  142. #define BSP_USING_GPIO1
  143. #define BSP_USING_GPIO2
  144. #define BSP_USING_GPIO3
  145. /* Hardware UART */
  146. #define BSP_USING_UART1
  147. #define BSP_USING_UART2
  148. #define BSP_UART2_RX_USING_DMA
  149. #define BSP_UART2_TX_USING_DMA
  150. #define BSP_USING_UART3
  151. #define BSP_UART3_RX_USING_DMA
  152. #define BSP_UART3_TX_USING_DMA
  153. #define BSP_USING_UART4
  154. #define BSP_UART4_RX_USING_DMA
  155. #define BSP_UART4_TX_USING_DMA
  156. /* Hardware I2C */
  157. /* Hardware I2S */
  158. /* Hardware CAN */
  159. /* Hardware TIMER */
  160. /* Hardware WDT */
  161. /* Hardware SPI */
  162. /* Hardware CRYPTO */
  163. /* Board extended module Drivers */
  164. #endif