rtconfig.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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. /* 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. /* end of Inter-Thread communication */
  28. /* Memory Management */
  29. #define RT_USING_MEMPOOL
  30. #define RT_USING_SMALL_MEM
  31. #define RT_USING_HEAP
  32. /* end of Memory Management */
  33. /* Kernel Device Object */
  34. #define RT_USING_DEVICE
  35. #define RT_USING_CONSOLE
  36. #define RT_CONSOLEBUF_SIZE 128
  37. #define RT_CONSOLE_DEVICE_NAME "uart0"
  38. /* end of Kernel Device Object */
  39. #define RT_VER_NUM 0x40005
  40. /* end of RT-Thread Kernel */
  41. #define ARCH_ARM
  42. #define RT_USING_CPU_FFS
  43. #define ARCH_ARM_CORTEX_M
  44. #define ARCH_ARM_CORTEX_M3
  45. /* RT-Thread Components */
  46. #define RT_USING_COMPONENTS_INIT
  47. #define RT_USING_USER_MAIN
  48. #define RT_MAIN_THREAD_STACK_SIZE 2048
  49. #define RT_MAIN_THREAD_PRIORITY 10
  50. /* C++ features */
  51. /* end of C++ features */
  52. /* Command shell */
  53. #define RT_USING_FINSH
  54. #define RT_USING_MSH
  55. #define FINSH_USING_MSH
  56. #define FINSH_THREAD_NAME "tshell"
  57. #define FINSH_THREAD_PRIORITY 20
  58. #define FINSH_THREAD_STACK_SIZE 2048
  59. #define FINSH_USING_HISTORY
  60. #define FINSH_HISTORY_LINES 5
  61. #define FINSH_USING_SYMTAB
  62. #define FINSH_CMD_SIZE 80
  63. #define MSH_USING_BUILT_IN_COMMANDS
  64. #define FINSH_USING_DESCRIPTION
  65. #define FINSH_ARG_MAX 10
  66. /* end of Command shell */
  67. /* Device virtual file system */
  68. /* end of Device virtual file system */
  69. /* Device Drivers */
  70. #define RT_USING_DEVICE_IPC
  71. #define RT_PIPE_BUFSZ 512
  72. #define RT_USING_SERIAL
  73. #define RT_USING_SERIAL_V1
  74. #define RT_SERIAL_RB_BUFSZ 64
  75. #define RT_USING_I2C
  76. #define RT_USING_I2C_BITOPS
  77. #define RT_USING_PIN
  78. /* Using USB */
  79. /* end of Using USB */
  80. /* end of Device Drivers */
  81. /* POSIX layer and C standard library */
  82. #define RT_USING_LIBC
  83. #define RT_LIBC_USING_TIME
  84. #define RT_LIBC_DEFAULT_TIMEZONE 8
  85. /* end of POSIX layer and C standard library */
  86. /* Network */
  87. /* Socket abstraction layer */
  88. /* end of Socket abstraction layer */
  89. /* Network interface device */
  90. /* end of Network interface device */
  91. /* light weight TCP/IP stack */
  92. /* end of light weight TCP/IP stack */
  93. /* AT commands */
  94. /* end of AT commands */
  95. /* end of Network */
  96. /* VBUS(Virtual Software BUS) */
  97. /* end of VBUS(Virtual Software BUS) */
  98. /* Utilities */
  99. /* end of Utilities */
  100. /* end of RT-Thread Components */
  101. /* RT-Thread Utestcases */
  102. /* end of RT-Thread Utestcases */
  103. /* RT-Thread online packages */
  104. /* IoT - internet of things */
  105. /* Wi-Fi */
  106. /* Marvell WiFi */
  107. /* end of Marvell WiFi */
  108. /* Wiced WiFi */
  109. /* end of Wiced WiFi */
  110. /* end of Wi-Fi */
  111. /* IoT Cloud */
  112. /* end of IoT Cloud */
  113. /* end of IoT - internet of things */
  114. /* security packages */
  115. /* end of security packages */
  116. /* language packages */
  117. /* end of language packages */
  118. /* multimedia packages */
  119. /* LVGL: powerful and easy-to-use embedded GUI library */
  120. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  121. /* u8g2: a monochrome graphic library */
  122. /* end of u8g2: a monochrome graphic library */
  123. /* PainterEngine: A cross-platform graphics application framework written in C language */
  124. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  125. /* end of multimedia packages */
  126. /* tools packages */
  127. /* end of tools packages */
  128. /* system packages */
  129. /* enhanced kernel services */
  130. /* end of enhanced kernel services */
  131. /* acceleration: Assembly language or algorithmic acceleration packages */
  132. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  133. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  134. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  135. /* Micrium: Micrium software products porting for RT-Thread */
  136. /* end of Micrium: Micrium software products porting for RT-Thread */
  137. /* end of system packages */
  138. /* peripheral libraries and drivers */
  139. /* end of peripheral libraries and drivers */
  140. /* AI packages */
  141. /* end of AI packages */
  142. /* miscellaneous packages */
  143. /* samples: kernel and components samples */
  144. /* end of samples: kernel and components samples */
  145. /* entertainment: terminal games and other interesting software packages */
  146. /* end of entertainment: terminal games and other interesting software packages */
  147. /* end of miscellaneous packages */
  148. /* end of RT-Thread online packages */
  149. /* Hardware Drivers Config */
  150. #define MCU_TAE32F53xx
  151. /* Onboard Peripheral Drivers */
  152. /* On-chip Peripheral Drivers */
  153. #define BSP_USING_GPIO
  154. #define BSP_USING_UART
  155. #define BSP_USING_UART0
  156. #define BSP_USING_I2C1
  157. #define BSP_I2C1_SCL_PIN 51
  158. #define BSP_I2C1_SDA_PIN 90
  159. /* end of On-chip Peripheral Drivers */
  160. /* Board extended module Drivers */
  161. /* end of Hardware Drivers Config */
  162. #endif