rtconfig.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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 10
  7. #define RT_ALIGN_SIZE 8
  8. #define RT_THREAD_PRIORITY_32
  9. #define RT_THREAD_PRIORITY_MAX 32
  10. #define RT_TICK_PER_SECOND 1000
  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 1024
  16. #define RT_DEBUG
  17. #define RT_DEBUG_COLOR
  18. /* Inter-Thread communication */
  19. #define RT_USING_SEMAPHORE
  20. #define RT_USING_MUTEX
  21. #define RT_USING_EVENT
  22. #define RT_USING_MAILBOX
  23. #define RT_USING_MESSAGEQUEUE
  24. /* Memory Management */
  25. #define RT_USING_MEMPOOL
  26. #define RT_USING_MEMHEAP
  27. #define RT_USING_SMALL_MEM
  28. #define RT_USING_HEAP
  29. /* Kernel Device Object */
  30. #define RT_USING_DEVICE
  31. #define RT_USING_INTERRUPT_INFO
  32. #define RT_USING_CONSOLE
  33. #define RT_CONSOLEBUF_SIZE 128
  34. #define RT_CONSOLE_DEVICE_NAME "uart2"
  35. #define RT_VER_NUM 0x40002
  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 4096
  51. #define FINSH_CMD_SIZE 80
  52. #define FINSH_USING_MSH
  53. #define FINSH_USING_MSH_DEFAULT
  54. #define FINSH_ARG_MAX 10
  55. /* Device virtual file system */
  56. #define RT_USING_DFS
  57. #define DFS_USING_WORKDIR
  58. #define DFS_FILESYSTEMS_MAX 2
  59. #define DFS_FILESYSTEM_TYPES_MAX 2
  60. #define DFS_FD_MAX 4
  61. /* Device Drivers */
  62. #define RT_USING_DEVICE_IPC
  63. #define RT_PIPE_BUFSZ 512
  64. #define RT_USING_SERIAL
  65. #define RT_SERIAL_USING_DMA
  66. #define RT_SERIAL_RB_BUFSZ 64
  67. #define RT_USING_CAN
  68. #define RT_USING_I2C
  69. #define RT_USING_I2C_BITOPS
  70. #define RT_USING_PIN
  71. #define RT_USING_SPI
  72. #define RT_USING_SPI_MSD
  73. /* Using USB */
  74. /* POSIX layer and C standard library */
  75. #define RT_USING_LIBC
  76. #define RT_USING_PTHREADS
  77. #define PTHREAD_NUM_MAX 8
  78. /* Network */
  79. /* Socket abstraction layer */
  80. /* Network interface device */
  81. /* light weight TCP/IP stack */
  82. /* AT commands */
  83. /* VBUS(Virtual Software BUS) */
  84. /* Utilities */
  85. /* RT-Thread MIPS CPU */
  86. /* RT-Thread online packages */
  87. /* IoT - internet of things */
  88. /* Wi-Fi */
  89. /* Marvell WiFi */
  90. /* Wiced WiFi */
  91. /* IoT Cloud */
  92. /* security packages */
  93. /* language packages */
  94. /* multimedia packages */
  95. /* tools packages */
  96. /* system packages */
  97. /* peripheral libraries and drivers */
  98. /* miscellaneous packages */
  99. /* samples: kernel and components samples */
  100. #define SOC_1C300
  101. #define RT_LS1C_BAICAIBOARD
  102. #define RT_USING_SELF_BOOT
  103. #define RT_SELF_BOOT_DEBUG
  104. #define RT_USING_UART2
  105. #define RT_USING_UART1
  106. #define RT_UART_RX_BUFFER_SIZE 64
  107. #define RT_USING_GMAC_INT_MODE
  108. #define RT_USING_I2C1
  109. #define RT_USING_I2C2
  110. #define NO_TOUCH
  111. #endif