rtconfig.h 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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 IDLE_THREAD_STACK_SIZE 256
  11. /* kservice optimization */
  12. /* end of kservice optimization */
  13. /* Inter-Thread communication */
  14. #define RT_USING_SEMAPHORE
  15. #define RT_USING_MUTEX
  16. #define RT_USING_EVENT
  17. #define RT_USING_MAILBOX
  18. #define RT_USING_MESSAGEQUEUE
  19. /* end of Inter-Thread communication */
  20. /* Memory Management */
  21. #define RT_USING_MEMPOOL
  22. #define RT_USING_SMALL_MEM
  23. #define RT_USING_HEAP
  24. /* end of Memory Management */
  25. /* Kernel Device Object */
  26. #define RT_USING_DEVICE
  27. #define RT_USING_CONSOLE
  28. #define RT_CONSOLEBUF_SIZE 128
  29. #define RT_CONSOLE_DEVICE_NAME "uart"
  30. /* end of Kernel Device Object */
  31. #define RT_VER_NUM 0x40005
  32. /* end of RT-Thread Kernel */
  33. #define ARCH_ARM
  34. #define ARCH_ARM_CORTEX_M
  35. #define ARCH_ARM_CORTEX_M0
  36. /* RT-Thread Components */
  37. #define RT_USING_COMPONENTS_INIT
  38. #define RT_USING_USER_MAIN
  39. #define RT_MAIN_THREAD_STACK_SIZE 512
  40. #define RT_MAIN_THREAD_PRIORITY 10
  41. /* C++ features */
  42. /* end of C++ features */
  43. /* Command shell */
  44. #define RT_USING_FINSH
  45. #define RT_USING_MSH
  46. #define FINSH_USING_MSH
  47. #define FINSH_THREAD_NAME "tshell"
  48. #define FINSH_THREAD_PRIORITY 20
  49. #define FINSH_THREAD_STACK_SIZE 4096
  50. #define FINSH_USING_HISTORY
  51. #define FINSH_HISTORY_LINES 5
  52. #define FINSH_USING_SYMTAB
  53. #define FINSH_CMD_SIZE 80
  54. #define MSH_USING_BUILT_IN_COMMANDS
  55. #define FINSH_USING_DESCRIPTION
  56. #define FINSH_ARG_MAX 10
  57. /* end of Command shell */
  58. /* Device virtual file system */
  59. /* end of Device virtual file system */
  60. /* Device Drivers */
  61. #define RT_USING_DEVICE_IPC
  62. #define RT_PIPE_BUFSZ 128
  63. #define RT_USING_SERIAL
  64. #define RT_USING_SERIAL_V1
  65. #define RT_SERIAL_RB_BUFSZ 64
  66. #define RT_USING_PIN
  67. /* Using USB */
  68. /* end of Using USB */
  69. /* end of Device Drivers */
  70. /* POSIX layer and C standard library */
  71. #define RT_USING_LIBC
  72. #define RT_LIBC_USING_TIME
  73. #define RT_LIBC_DEFAULT_TIMEZONE 8
  74. /* end of POSIX layer and C standard library */
  75. /* Network */
  76. /* Socket abstraction layer */
  77. /* end of Socket abstraction layer */
  78. /* Network interface device */
  79. /* end of Network interface device */
  80. /* light weight TCP/IP stack */
  81. /* end of light weight TCP/IP stack */
  82. /* AT commands */
  83. /* end of AT commands */
  84. /* end of Network */
  85. /* VBUS(Virtual Software BUS) */
  86. /* end of VBUS(Virtual Software BUS) */
  87. /* Utilities */
  88. /* end of Utilities */
  89. /* end of RT-Thread Components */
  90. /* RT-Thread Utestcases */
  91. /* end of RT-Thread Utestcases */
  92. /* RT-Thread online packages */
  93. /* IoT - internet of things */
  94. /* Wi-Fi */
  95. /* Marvell WiFi */
  96. /* end of Marvell WiFi */
  97. /* Wiced WiFi */
  98. /* end of Wiced WiFi */
  99. /* end of Wi-Fi */
  100. /* IoT Cloud */
  101. /* end of IoT Cloud */
  102. /* end of IoT - internet of things */
  103. /* security packages */
  104. /* end of security packages */
  105. /* language packages */
  106. /* end of language packages */
  107. /* multimedia packages */
  108. /* LVGL: powerful and easy-to-use embedded GUI library */
  109. /* end of LVGL: powerful and easy-to-use embedded GUI library */
  110. /* u8g2: a monochrome graphic library */
  111. /* end of u8g2: a monochrome graphic library */
  112. /* PainterEngine: A cross-platform graphics application framework written in C language */
  113. /* end of PainterEngine: A cross-platform graphics application framework written in C language */
  114. /* end of multimedia packages */
  115. /* tools packages */
  116. /* end of tools packages */
  117. /* system packages */
  118. /* enhanced kernel services */
  119. /* end of enhanced kernel services */
  120. /* acceleration: Assembly language or algorithmic acceleration packages */
  121. /* end of acceleration: Assembly language or algorithmic acceleration packages */
  122. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  123. /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  124. /* Micrium: Micrium software products porting for RT-Thread */
  125. /* end of Micrium: Micrium software products porting for RT-Thread */
  126. /* end of system packages */
  127. /* peripheral libraries and drivers */
  128. /* end of peripheral libraries and drivers */
  129. /* AI packages */
  130. /* end of AI packages */
  131. /* miscellaneous packages */
  132. /* samples: kernel and components samples */
  133. /* end of samples: kernel and components samples */
  134. /* entertainment: terminal games and other interesting software packages */
  135. /* end of entertainment: terminal games and other interesting software packages */
  136. /* end of miscellaneous packages */
  137. /* end of RT-Thread online packages */
  138. #define SOC_LPC1114
  139. #endif