rtconfig.h 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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 256
  15. /* kservice optimization */
  16. /* end of kservice optimization */
  17. #define RT_DEBUG
  18. #define RT_DEBUG_COLOR
  19. /* Inter-Thread communication */
  20. #define RT_USING_SEMAPHORE
  21. #define RT_USING_MUTEX
  22. #define RT_USING_EVENT
  23. #define RT_USING_MAILBOX
  24. #define RT_USING_MESSAGEQUEUE
  25. /* end of Inter-Thread communication */
  26. /* Memory Management */
  27. #define RT_USING_MEMPOOL
  28. #define RT_USING_SMALL_MEM
  29. #define RT_USING_HEAP
  30. /* end of Memory Management */
  31. /* Kernel Device Object */
  32. #define RT_USING_DEVICE
  33. #define RT_USING_CONSOLE
  34. #define RT_CONSOLEBUF_SIZE 128
  35. #define RT_CONSOLE_DEVICE_NAME "uart0"
  36. /* end of Kernel Device Object */
  37. #define RT_VER_NUM 0x40100
  38. /* end of RT-Thread Kernel */
  39. #define ARCH_ARM
  40. #define RT_USING_CPU_FFS
  41. #define ARCH_ARM_CORTEX_M
  42. #define ARCH_ARM_CORTEX_M4
  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. /* C++ features */
  49. /* end of C++ features */
  50. /* Command shell */
  51. #define RT_USING_FINSH
  52. #define RT_USING_MSH
  53. #define FINSH_USING_MSH
  54. #define FINSH_THREAD_NAME "tshell"
  55. #define FINSH_THREAD_PRIORITY 20
  56. #define FINSH_THREAD_STACK_SIZE 4096
  57. #define FINSH_USING_HISTORY
  58. #define FINSH_HISTORY_LINES 5
  59. #define FINSH_USING_SYMTAB
  60. #define FINSH_CMD_SIZE 80
  61. #define MSH_USING_BUILT_IN_COMMANDS
  62. #define FINSH_USING_DESCRIPTION
  63. #define FINSH_ARG_MAX 10
  64. /* end of Command shell */
  65. /* Device virtual file system */
  66. #define RT_USING_DFS
  67. #define DFS_USING_POSIX
  68. #define DFS_USING_WORKDIR
  69. #define DFS_FILESYSTEMS_MAX 4
  70. #define DFS_FILESYSTEM_TYPES_MAX 4
  71. #define DFS_FD_MAX 16
  72. #define RT_USING_DFS_ELMFAT
  73. /* elm-chan's FatFs, Generic FAT Filesystem Module */
  74. #define RT_DFS_ELM_CODE_PAGE 437
  75. #define RT_DFS_ELM_WORD_ACCESS
  76. #define RT_DFS_ELM_USE_LFN_3
  77. #define RT_DFS_ELM_USE_LFN 3
  78. #define RT_DFS_ELM_LFN_UNICODE_0
  79. #define RT_DFS_ELM_LFN_UNICODE 0
  80. #define RT_DFS_ELM_MAX_LFN 255
  81. #define RT_DFS_ELM_DRIVES 2
  82. #define RT_DFS_ELM_MAX_SECTOR_SIZE 4096
  83. #define RT_DFS_ELM_REENTRANT
  84. #define RT_DFS_ELM_MUTEX_TIMEOUT 3000
  85. /* end of elm-chan's FatFs, Generic FAT Filesystem Module */
  86. #define RT_USING_DFS_DEVFS
  87. #define RT_USING_DFS_ROMFS
  88. /* end of Device virtual file system */
  89. /* Device Drivers */
  90. #define RT_USING_DEVICE_IPC
  91. #define RT_PIPE_BUFSZ 512
  92. #define RT_USING_SERIAL
  93. #define RT_USING_SERIAL_V1
  94. #define RT_SERIAL_USING_DMA
  95. #define RT_SERIAL_RB_BUFSZ 64
  96. #define RT_USING_I2C
  97. #define RT_USING_I2C_BITOPS
  98. #define RT_USING_PIN
  99. #define RT_USING_SPI
  100. #define RT_USING_SPI_MSD
  101. #define RT_USING_SFUD
  102. #define RT_SFUD_USING_FLASH_INFO_TABLE
  103. #define RT_SFUD_SPI_MAX_HZ 50000000
  104. /* Using USB */
  105. /* end of Using USB */
  106. /* end of Device Drivers */
  107. /* POSIX layer and C standard library */
  108. #define RT_USING_LIBC
  109. #define RT_LIBC_USING_TIME
  110. #define RT_LIBC_DEFAULT_TIMEZONE 8
  111. /* POSIX (Portable Operating System Interface) layer */
  112. /* end of POSIX (Portable Operating System Interface) layer */
  113. /* end of POSIX layer and C standard library */
  114. /* Network */
  115. /* Socket abstraction layer */
  116. /* end of Socket abstraction layer */
  117. /* Network interface device */
  118. /* end of Network interface device */
  119. /* light weight TCP/IP stack */
  120. /* end of light weight TCP/IP stack */
  121. /* AT commands */
  122. /* end of AT commands */
  123. /* end of Network */
  124. /* VBUS(Virtual Software BUS) */
  125. /* end of VBUS(Virtual Software BUS) */
  126. /* Utilities */
  127. /* end of Utilities */
  128. /* end of RT-Thread Components */
  129. /* RT-Thread Utestcases */
  130. /* end of RT-Thread Utestcases */
  131. /* RT-Thread online packages */
  132. /* IoT - internet of things */
  133. /* Wi-Fi */
  134. /* Marvell WiFi */
  135. /* end of Marvell WiFi */
  136. /* Wiced WiFi */
  137. /* end of Wiced WiFi */
  138. /* end of Wi-Fi */
  139. /* IoT Cloud */
  140. /* end of IoT Cloud */
  141. /* end of IoT - internet of things */
  142. /* security packages */
  143. /* end of security packages */
  144. /* language packages */
  145. /* end of language packages */
  146. /* multimedia packages */
  147. /* LVGL: powerful and easy-to-use embedded GUI library */
  148. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  149. /* u8g2: a monochrome graphic library */
  150. /* end of u8g2: a monochrome graphic library */
  151. /* PainterEngine: A cross-platform graphics application framework written in C language */
  152. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  153. /* end of multimedia packages */
  154. /* tools packages */
  155. /* end of tools packages */
  156. /* system packages */
  157. /* acceleration: Assembly language or algorithmic acceleration packages */
  158. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  159. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  160. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  161. /* Micrium: Micrium software products porting for RT-Thread */
  162. /* end of Micrium: Micrium software products porting for RT-Thread */
  163. /* end of system packages */
  164. /* peripheral libraries and drivers */
  165. /* end of peripheral libraries and drivers */
  166. /* AI packages */
  167. /* end of AI packages */
  168. /* miscellaneous packages */
  169. /* samples: kernel and components samples */
  170. /* end of samples: kernel and components samples */
  171. /* entertainment: terminal games and other interesting software packages */
  172. /* end of entertainment: terminal games and other interesting software packages */
  173. /* end of miscellaneous packages */
  174. /* end of RT-Thread online packages */
  175. #define SOC_LPC54114
  176. /* LPC54110 Bsp Config */
  177. /* Select uart drivers */
  178. #define BSP_USING_UART0
  179. /* end of Select uart drivers */
  180. /* Select spi bus drivers */
  181. #define BSP_USING_SPI2
  182. /* end of Select spi bus drivers */
  183. /* Select i2c bus drivers */
  184. #define BSP_USING_I2C4
  185. /* end of Select i2c bus drivers */
  186. #define BSP_USING_ROMFS
  187. #define BSP_USING_SDCARD
  188. #define BSP_USING_SPIFLASH
  189. /* end of LPC54110 Bsp Config */
  190. #endif