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