rtconfig.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
  4. #define BOARD_IMX6UL
  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. /* kservice optimization */
  17. /* end of kservice optimization */
  18. #define RT_DEBUG
  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 "uart1"
  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_A
  42. #define RT_USING_GIC_V2
  43. #define ARCH_ARM_CORTEX_A7
  44. /* RT-Thread Components */
  45. #define RT_USING_COMPONENTS_INIT
  46. /* C++ features */
  47. /* end of C++ features */
  48. /* Command shell */
  49. #define RT_USING_FINSH
  50. #define RT_USING_MSH
  51. #define FINSH_USING_MSH
  52. #define FINSH_THREAD_NAME "tshell"
  53. #define FINSH_THREAD_PRIORITY 20
  54. #define FINSH_THREAD_STACK_SIZE 4096
  55. #define FINSH_USING_HISTORY
  56. #define FINSH_HISTORY_LINES 5
  57. #define FINSH_USING_SYMTAB
  58. #define FINSH_CMD_SIZE 80
  59. #define MSH_USING_BUILT_IN_COMMANDS
  60. #define FINSH_USING_DESCRIPTION
  61. #define FINSH_ARG_MAX 10
  62. /* end of Command shell */
  63. /* Device virtual file system */
  64. #define RT_USING_DFS
  65. #define DFS_USING_POSIX
  66. #define DFS_USING_WORKDIR
  67. #define DFS_FILESYSTEMS_MAX 2
  68. #define DFS_FILESYSTEM_TYPES_MAX 2
  69. #define DFS_FD_MAX 16
  70. #define RT_USING_DFS_DEVFS
  71. /* end of Device virtual file system */
  72. /* Device Drivers */
  73. #define RT_USING_DEVICE_IPC
  74. #define RT_PIPE_BUFSZ 512
  75. #define RT_USING_SERIAL
  76. #define RT_USING_SERIAL_V1
  77. #define RT_SERIAL_USING_DMA
  78. #define RT_SERIAL_RB_BUFSZ 64
  79. #define RT_USING_PIN
  80. /* Using USB */
  81. /* end of Using USB */
  82. /* end of Device Drivers */
  83. /* POSIX layer and C standard library */
  84. #define RT_USING_LIBC
  85. #define RT_LIBC_USING_TIME
  86. #define RT_LIBC_DEFAULT_TIMEZONE 8
  87. /* POSIX (Portable Operating System Interface) layer */
  88. /* end of POSIX (Portable Operating System Interface) layer */
  89. /* end of POSIX layer and C standard library */
  90. /* Network */
  91. /* Socket abstraction layer */
  92. /* end of Socket abstraction layer */
  93. /* Network interface device */
  94. /* end of Network interface device */
  95. /* light weight TCP/IP stack */
  96. /* end of light weight TCP/IP stack */
  97. /* AT commands */
  98. /* end of AT commands */
  99. /* end of Network */
  100. /* VBUS(Virtual Software BUS) */
  101. /* end of VBUS(Virtual Software BUS) */
  102. /* Utilities */
  103. /* end of Utilities */
  104. /* end of RT-Thread Components */
  105. /* RT-Thread Utestcases */
  106. /* end of RT-Thread Utestcases */
  107. /* RT-Thread online packages */
  108. /* IoT - internet of things */
  109. /* Wi-Fi */
  110. /* Marvell WiFi */
  111. /* end of Marvell WiFi */
  112. /* Wiced WiFi */
  113. /* end of Wiced WiFi */
  114. /* end of Wi-Fi */
  115. /* IoT Cloud */
  116. /* end of IoT Cloud */
  117. /* end of IoT - internet of things */
  118. /* security packages */
  119. /* end of security packages */
  120. /* language packages */
  121. /* end of language packages */
  122. /* multimedia packages */
  123. /* LVGL: powerful and easy-to-use embedded GUI library */
  124. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  125. /* u8g2: a monochrome graphic library */
  126. /* end of u8g2: a monochrome graphic library */
  127. /* PainterEngine: A cross-platform graphics application framework written in C language */
  128. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  129. /* end of multimedia packages */
  130. /* tools packages */
  131. /* end of tools packages */
  132. /* system packages */
  133. /* acceleration: Assembly language or algorithmic acceleration packages */
  134. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  135. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  136. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  137. /* Micrium: Micrium software products porting for RT-Thread */
  138. /* end of Micrium: Micrium software products porting for RT-Thread */
  139. /* end of system packages */
  140. /* peripheral libraries and drivers */
  141. /* end of peripheral libraries and drivers */
  142. /* AI packages */
  143. /* end of AI packages */
  144. /* miscellaneous packages */
  145. /* samples: kernel and components samples */
  146. /* end of samples: kernel and components samples */
  147. /* entertainment: terminal games and other interesting software packages */
  148. /* end of entertainment: terminal games and other interesting software packages */
  149. /* end of miscellaneous packages */
  150. /* end of RT-Thread online packages */
  151. #define RT_USING_UART1
  152. #define SOC_MCIMX6X4
  153. #endif