rtconfig.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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 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. #define RT_DEBUG
  20. /* Inter-Thread communication */
  21. #define RT_USING_SEMAPHORE
  22. #define RT_USING_MUTEX
  23. #define RT_USING_EVENT
  24. #define RT_USING_MAILBOX
  25. #define RT_USING_MESSAGEQUEUE
  26. /* Memory Management */
  27. #define RT_USING_MEMPOOL
  28. #define RT_USING_SMALL_MEM
  29. #define RT_USING_HEAP
  30. /* Kernel Device Object */
  31. #define RT_USING_DEVICE
  32. #define RT_USING_CONSOLE
  33. #define RT_CONSOLEBUF_SIZE 128
  34. #define RT_CONSOLE_DEVICE_NAME "uart0"
  35. #define RT_VER_NUM 0x40003
  36. /* RT-Thread Components */
  37. #define RT_USING_COMPONENTS_INIT
  38. #define RT_USING_USER_MAIN
  39. #define RT_MAIN_THREAD_STACK_SIZE 2048
  40. #define RT_MAIN_THREAD_PRIORITY 10
  41. /* C++ features */
  42. /* Command shell */
  43. #define RT_USING_FINSH
  44. #define FINSH_THREAD_NAME "tshell"
  45. #define FINSH_USING_HISTORY
  46. #define FINSH_HISTORY_LINES 5
  47. #define FINSH_USING_SYMTAB
  48. #define FINSH_USING_DESCRIPTION
  49. #define FINSH_THREAD_PRIORITY 20
  50. #define FINSH_THREAD_STACK_SIZE 1024
  51. #define FINSH_CMD_SIZE 80
  52. #define FINSH_USING_MSH
  53. #define FINSH_USING_MSH_DEFAULT
  54. #define FINSH_USING_MSH_ONLY
  55. #define FINSH_ARG_MAX 10
  56. /* Device virtual file system */
  57. /* Device Drivers */
  58. #define RT_USING_DEVICE_IPC
  59. #define RT_PIPE_BUFSZ 512
  60. #define RT_USING_SERIAL
  61. #define RT_SERIAL_USING_DMA
  62. #define RT_SERIAL_RB_BUFSZ 64
  63. #define RT_USING_PIN
  64. /* Using USB */
  65. /* POSIX layer and C standard library */
  66. #define RT_USING_LIBC
  67. /* Network */
  68. /* Socket abstraction layer */
  69. /* Network interface device */
  70. /* light weight TCP/IP stack */
  71. /* AT commands */
  72. /* VBUS(Virtual Software BUS) */
  73. /* Utilities */
  74. /* RT-Thread online packages */
  75. /* IoT - internet of things */
  76. /* Wi-Fi */
  77. /* Marvell WiFi */
  78. /* Wiced WiFi */
  79. /* IoT Cloud */
  80. /* security packages */
  81. /* language packages */
  82. /* multimedia packages */
  83. /* tools packages */
  84. /* system packages */
  85. /* peripheral libraries and drivers */
  86. /* miscellaneous packages */
  87. /* samples: kernel and components samples */
  88. /* Hardware Drivers Config */
  89. /* On-chip Peripheral Drivers */
  90. /* UART Drivers */
  91. #define BSP_USING_UART0
  92. #define BSP_USING_UART1
  93. /* GPIO Drivers */
  94. #define BSP_USING_GPIO
  95. #define SOC_SF2_M2S010
  96. #endif