1
0

rtconfig.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Automatically generated file; DO NOT EDIT. */
  4. /* RT-Thread Configuration */
  5. #define SOC_RP2040
  6. /* RT-Thread Kernel */
  7. #define RT_NAME_MAX 8
  8. #define RT_CPUS_NR 1
  9. #define RT_ALIGN_SIZE 8
  10. #define RT_THREAD_PRIORITY_32
  11. #define RT_THREAD_PRIORITY_MAX 32
  12. #define RT_TICK_PER_SECOND 100
  13. #define RT_USING_OVERFLOW_CHECK
  14. #define RT_USING_HOOK
  15. #define RT_HOOK_USING_FUNC_PTR
  16. #define RT_USING_IDLE_HOOK
  17. #define RT_IDLE_HOOK_LIST_SIZE 4
  18. #define IDLE_THREAD_STACK_SIZE 256
  19. /* kservice optimization */
  20. #define RT_USING_DEBUG
  21. #define RT_DEBUGING_COLOR
  22. #define RT_DEBUGING_CONTEXT
  23. /* Inter-Thread communication */
  24. #define RT_USING_SEMAPHORE
  25. #define RT_USING_MUTEX
  26. #define RT_USING_EVENT
  27. #define RT_USING_MAILBOX
  28. #define RT_USING_MESSAGEQUEUE
  29. /* Memory Management */
  30. #define RT_USING_MEMPOOL
  31. #define RT_USING_SMALL_MEM
  32. #define RT_USING_SMALL_MEM_AS_HEAP
  33. #define RT_USING_HEAP
  34. #define RT_USING_DEVICE
  35. #define RT_USING_CONSOLE
  36. #define RT_CONSOLEBUF_SIZE 128
  37. #define RT_CONSOLE_DEVICE_NAME "uart0"
  38. #define RT_VER_NUM 0x50100
  39. #define RT_BACKTRACE_LEVEL_MAX_NR 32
  40. #define ARCH_ARM
  41. #define ARCH_ARM_CORTEX_M
  42. #define ARCH_ARM_CORTEX_M0
  43. /* RT-Thread Components */
  44. #define RT_USING_COMPONENTS_INIT
  45. #define RT_USING_USER_MAIN
  46. #define RT_MAIN_THREAD_STACK_SIZE 2048
  47. #define RT_MAIN_THREAD_PRIORITY 10
  48. #define RT_USING_MSH
  49. #define RT_USING_FINSH
  50. #define FINSH_USING_MSH
  51. #define FINSH_THREAD_NAME "tshell"
  52. #define FINSH_THREAD_PRIORITY 20
  53. #define FINSH_THREAD_STACK_SIZE 4096
  54. #define FINSH_USING_HISTORY
  55. #define FINSH_HISTORY_LINES 5
  56. #define FINSH_USING_SYMTAB
  57. #define FINSH_CMD_SIZE 80
  58. #define MSH_USING_BUILT_IN_COMMANDS
  59. #define FINSH_USING_DESCRIPTION
  60. #define FINSH_ARG_MAX 10
  61. #define FINSH_USING_OPTION_COMPLETION
  62. /* DFS: device virtual file system */
  63. /* Device Drivers */
  64. #define RT_USING_DEVICE_IPC
  65. #define RT_UNAMED_PIPE_NUMBER 64
  66. #define RT_USING_SERIAL
  67. #define RT_USING_SERIAL_V1
  68. #define RT_SERIAL_USING_DMA
  69. #define RT_SERIAL_RB_BUFSZ 64
  70. #define RT_USING_PIN
  71. /* Using USB */
  72. /* C/C++ and POSIX layer */
  73. /* ISO-ANSI C layer */
  74. /* Timezone and Daylight Saving Time */
  75. #define RT_LIBC_USING_LIGHT_TZ_DST
  76. #define RT_LIBC_TZ_DEFAULT_HOUR 8
  77. #define RT_LIBC_TZ_DEFAULT_MIN 0
  78. #define RT_LIBC_TZ_DEFAULT_SEC 0
  79. /* POSIX (Portable Operating System Interface) layer */
  80. /* Interprocess Communication (IPC) */
  81. /* Socket is in the 'Network' category */
  82. /* Network */
  83. /* Memory protection */
  84. /* Utilities */
  85. /* RT-Thread Utestcases */
  86. /* RT-Thread online packages */
  87. /* IoT - internet of things */
  88. /* Wi-Fi */
  89. /* Marvell WiFi */
  90. /* Wiced WiFi */
  91. /* CYW43012 WiFi */
  92. /* BL808 WiFi */
  93. /* CYW43439 WiFi */
  94. /* IoT Cloud */
  95. /* security packages */
  96. /* language packages */
  97. /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
  98. /* XML: Extensible Markup Language */
  99. /* multimedia packages */
  100. /* LVGL: powerful and easy-to-use embedded GUI library */
  101. /* u8g2: a monochrome graphic library */
  102. /* tools packages */
  103. /* system packages */
  104. /* enhanced kernel services */
  105. /* acceleration: Assembly language or algorithmic acceleration packages */
  106. /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
  107. /* Micrium: Micrium software products porting for RT-Thread */
  108. /* peripheral libraries and drivers */
  109. /* HAL & SDK Drivers */
  110. /* STM32 HAL & SDK Drivers */
  111. /* Kendryte SDK */
  112. #define PKG_USING_RASPBERRYPI_PICO_SDK
  113. #define PKG_USING_RASPBERRYPI_PICO_SDK_LATEST_VERSION
  114. /* sensors drivers */
  115. /* touch drivers */
  116. /* AI packages */
  117. /* Signal Processing and Control Algorithm Packages */
  118. /* miscellaneous packages */
  119. /* project laboratory */
  120. /* samples: kernel and components samples */
  121. /* entertainment: terminal games and other interesting software packages */
  122. /* Arduino libraries */
  123. /* Projects and Demos */
  124. /* Sensors */
  125. /* Display */
  126. /* Timing */
  127. /* Data Processing */
  128. /* Data Storage */
  129. /* Communication */
  130. /* Device Control */
  131. /* Other */
  132. /* Signal IO */
  133. /* Uncategorized */
  134. /* Hardware Drivers Config */
  135. /* Onboard Peripheral Drivers */
  136. /* On-chip Peripheral Drivers */
  137. #define BSP_USING_PIN
  138. #define BSP_USING_UART
  139. #define BSP_USING_UART0
  140. #define BSP_UART0_TX_PIN_0
  141. #define BSP_UART0_TX_PIN 0
  142. #define BSP_UART0_RX_PIN_1
  143. #define BSP_UART0_RX_PIN 1
  144. #endif