rtconfig.h 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
  4. #define SOC_LPC55S6x
  5. /* RT-Thread Kernel */
  6. #define RT_NAME_MAX 8
  7. #define RT_ALIGN_SIZE 4
  8. #define RT_THREAD_PRIORITY_32
  9. #define RT_THREAD_PRIORITY_MAX 32
  10. #define RT_TICK_PER_SECOND 100
  11. #define RT_USING_OVERFLOW_CHECK
  12. #define RT_USING_HOOK
  13. #define RT_USING_IDLE_HOOK
  14. #define RT_IDLE_HOOK_LIST_SIZE 4
  15. #define IDLE_THREAD_STACK_SIZE 256
  16. #define RT_USING_TIMER_SOFT
  17. #define RT_TIMER_THREAD_PRIO 4
  18. #define RT_TIMER_THREAD_STACK_SIZE 512
  19. /* kservice optimization */
  20. /* end of kservice optimization */
  21. #define RT_DEBUG
  22. /* Inter-Thread communication */
  23. #define RT_USING_SEMAPHORE
  24. #define RT_USING_MUTEX
  25. #define RT_USING_EVENT
  26. #define RT_USING_MAILBOX
  27. #define RT_USING_MESSAGEQUEUE
  28. /* end of Inter-Thread communication */
  29. /* Memory Management */
  30. #define RT_USING_MEMPOOL
  31. #define RT_USING_SMALL_MEM
  32. #define RT_USING_HEAP
  33. /* end of Memory Management */
  34. /* Kernel Device Object */
  35. #define RT_USING_DEVICE
  36. #define RT_USING_CONSOLE
  37. #define RT_CONSOLEBUF_SIZE 128
  38. #define RT_CONSOLE_DEVICE_NAME "uart"
  39. /* end of Kernel Device Object */
  40. #define RT_VER_NUM 0x40100
  41. /* end of RT-Thread Kernel */
  42. #define ARCH_ARM_CORTEX_FPU
  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 2
  70. #define DFS_FILESYSTEM_TYPES_MAX 2
  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 512
  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. /* end of Device virtual file system */
  88. /* Device Drivers */
  89. #define RT_USING_DEVICE_IPC
  90. #define RT_PIPE_BUFSZ 512
  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_HWTIMER
  96. #define RT_USING_I2C
  97. #define RT_USING_I2C_BITOPS
  98. #define RT_USING_PIN
  99. #define RT_USING_ADC
  100. #define RT_USING_PWM
  101. #define RT_USING_RTC
  102. #define RT_USING_SDIO
  103. #define RT_SDIO_STACK_SIZE 512
  104. #define RT_SDIO_THREAD_PRIORITY 15
  105. #define RT_MMCSD_STACK_SIZE 1024
  106. #define RT_MMCSD_THREAD_PREORITY 22
  107. #define RT_MMCSD_MAX_PARTITION 16
  108. #define RT_USING_SPI
  109. /* Using USB */
  110. /* end of Using USB */
  111. /* end of Device Drivers */
  112. /* POSIX layer and C standard library */
  113. #define RT_USING_LIBC
  114. #define RT_LIBC_USING_TIME
  115. #define RT_LIBC_DEFAULT_TIMEZONE 8
  116. /* POSIX (Portable Operating System Interface) layer */
  117. /* end of POSIX (Portable Operating System Interface) layer */
  118. /* end of POSIX layer and C standard library */
  119. /* Network */
  120. /* Socket abstraction layer */
  121. /* end of Socket abstraction layer */
  122. /* Network interface device */
  123. /* end of Network interface device */
  124. /* light weight TCP/IP stack */
  125. /* end of light weight TCP/IP stack */
  126. /* AT commands */
  127. /* end of AT commands */
  128. /* end of Network */
  129. /* VBUS(Virtual Software BUS) */
  130. /* end of VBUS(Virtual Software BUS) */
  131. /* Utilities */
  132. /* end of Utilities */
  133. /* end of RT-Thread Components */
  134. /* RT-Thread Utestcases */
  135. /* end of RT-Thread Utestcases */
  136. /* RT-Thread online packages */
  137. /* IoT - internet of things */
  138. /* Wi-Fi */
  139. /* Marvell WiFi */
  140. /* end of Marvell WiFi */
  141. /* Wiced WiFi */
  142. /* end of Wiced WiFi */
  143. /* end of Wi-Fi */
  144. /* IoT Cloud */
  145. /* end of IoT Cloud */
  146. /* end of IoT - internet of things */
  147. /* security packages */
  148. #define PKG_USING_TFM
  149. #define PKG_USING_TFM_NXP_LPC55_V1_BETA
  150. /* end of security packages */
  151. /* language packages */
  152. /* end of language packages */
  153. /* multimedia packages */
  154. /* LVGL: powerful and easy-to-use embedded GUI library */
  155. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  156. /* u8g2: a monochrome graphic library */
  157. /* end of u8g2: a monochrome graphic library */
  158. /* PainterEngine: A cross-platform graphics application framework written in C language */
  159. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  160. /* end of multimedia packages */
  161. /* tools packages */
  162. /* end of tools packages */
  163. /* system packages */
  164. /* acceleration: Assembly language or algorithmic acceleration packages */
  165. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  166. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  167. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  168. /* Micrium: Micrium software products porting for RT-Thread */
  169. /* end of Micrium: Micrium software products porting for RT-Thread */
  170. /* end of system packages */
  171. /* peripheral libraries and drivers */
  172. /* end of peripheral libraries and drivers */
  173. /* AI packages */
  174. /* end of AI packages */
  175. /* miscellaneous packages */
  176. /* samples: kernel and components samples */
  177. /* end of samples: kernel and components samples */
  178. /* entertainment: terminal games and other interesting software packages */
  179. /* end of entertainment: terminal games and other interesting software packages */
  180. /* end of miscellaneous packages */
  181. /* end of RT-Thread online packages */
  182. #define SOC_LPC55S6X_SERIES
  183. /* Hardware Drivers Config */
  184. #define SOC_LPC55S6X
  185. /* On-chip Peripheral Drivers */
  186. #define BSP_USING_PIN
  187. #define BSP_USING_UART
  188. #define BSP_USING_UART0
  189. #define HW_UART0_BAUDRATE_115200
  190. #define BSP_USING_I2C
  191. #define BSP_USING_I2C1
  192. #define HW_I2C1_BAUDRATE_100kHZ
  193. #define BSP_USING_I2C4
  194. #define HW_I2C4_BAUDRATE_100kHZ
  195. #define BSP_USING_SPI
  196. #define BSP_USING_SPI8
  197. #define BSP_USING_ADC
  198. #define BSP_USING_ADC0_CH0
  199. #define BSP_USING_SDIO
  200. #define BSP_USING_RTC
  201. #define BSP_USING_HWTIMER
  202. #define BSP_USING_CTIMER0
  203. #define BSP_USING_PWM
  204. #define BSP_USING_CTIMER2_MAT0
  205. /* end of On-chip Peripheral Drivers */
  206. /* Onboard Peripheral Drivers */
  207. #define BSP_USING_LED
  208. #define BSP_USING_KEY
  209. #define BSP_USING_MMA8562
  210. #define BSP_USING_MMA8562I2C "i2c4"
  211. /* end of Onboard Peripheral Drivers */
  212. /* Board extended module Drivers */
  213. /* end of Hardware Drivers Config */
  214. #endif