rtconfig.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Automatically generated file; DO NOT EDIT. */
  4. /* RT-Thread Configuration */
  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 IDLE_THREAD_STACK_SIZE 256
  12. /* 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. /* Memory Management */
  20. #define RT_USING_MEMPOOL
  21. #define RT_USING_SMALL_MEM
  22. #define RT_USING_SMALL_MEM_AS_HEAP
  23. #define RT_USING_HEAP
  24. /* Kernel Device Object */
  25. #define RT_USING_DEVICE
  26. #define RT_USING_CONSOLE
  27. #define RT_CONSOLEBUF_SIZE 128
  28. #define RT_CONSOLE_DEVICE_NAME "uart"
  29. #define RT_VER_NUM 0x40100
  30. #define ARCH_ARM
  31. #define ARCH_ARM_CORTEX_M
  32. #define ARCH_ARM_CORTEX_M0
  33. /* RT-Thread Components */
  34. #define RT_USING_COMPONENTS_INIT
  35. #define RT_USING_USER_MAIN
  36. #define RT_MAIN_THREAD_STACK_SIZE 512
  37. #define RT_MAIN_THREAD_PRIORITY 10
  38. #define RT_USING_MSH
  39. #define RT_USING_FINSH
  40. #define FINSH_USING_MSH
  41. #define FINSH_THREAD_NAME "tshell"
  42. #define FINSH_THREAD_PRIORITY 20
  43. #define FINSH_THREAD_STACK_SIZE 4096
  44. #define FINSH_USING_HISTORY
  45. #define FINSH_HISTORY_LINES 5
  46. #define FINSH_USING_SYMTAB
  47. #define FINSH_CMD_SIZE 80
  48. #define MSH_USING_BUILT_IN_COMMANDS
  49. #define FINSH_USING_DESCRIPTION
  50. #define FINSH_ARG_MAX 10
  51. /* Device Drivers */
  52. #define RT_USING_DEVICE_IPC
  53. #define RT_USING_SERIAL
  54. #define RT_USING_SERIAL_V1
  55. #define RT_SERIAL_RB_BUFSZ 64
  56. #define RT_USING_PIN
  57. /* Using USB */
  58. /* C/C++ and POSIX layer */
  59. #define RT_LIBC_DEFAULT_TIMEZONE 8
  60. /* POSIX (Portable Operating System Interface) layer */
  61. /* Interprocess Communication (IPC) */
  62. /* Socket is in the 'Network' category */
  63. /* Network */
  64. /* Utilities */
  65. /* RT-Thread Utestcases */
  66. /* RT-Thread online packages */
  67. /* IoT - internet of things */
  68. /* Wi-Fi */
  69. /* Marvell WiFi */
  70. /* Wiced WiFi */
  71. /* IoT Cloud */
  72. /* security packages */
  73. /* language packages */
  74. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  75. /* XML: Extensible Markup Language */
  76. /* multimedia packages */
  77. /* LVGL: powerful and easy-to-use embedded GUI library */
  78. /* u8g2: a monochrome graphic library */
  79. /* PainterEngine: A cross-platform graphics application framework written in C language */
  80. /* tools packages */
  81. /* system packages */
  82. /* enhanced kernel services */
  83. /* POSIX extension functions */
  84. /* acceleration: Assembly language or algorithmic acceleration packages */
  85. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  86. /* Micrium: Micrium software products porting for RT-Thread */
  87. /* peripheral libraries and drivers */
  88. /* AI packages */
  89. /* miscellaneous packages */
  90. /* project laboratory */
  91. /* samples: kernel and components samples */
  92. /* entertainment: terminal games and other interesting software packages */
  93. #define SOC_LPC1114
  94. #endif