Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. menu "RT-Thread Architecture"
  2. config ARCH_CPU_64BIT
  3. bool
  4. config RT_USING_CACHE
  5. bool
  6. default n
  7. config RT_USING_HW_ATOMIC
  8. bool
  9. default n
  10. config ARCH_CPU_BIG_ENDIAN
  11. bool
  12. config ARCH_ARM_BOOTWITH_FLUSH_CACHE
  13. bool
  14. default n
  15. config ARCH_CPU_STACK_GROWS_UPWARD
  16. bool
  17. default n
  18. config RT_USING_CPU_FFS
  19. bool
  20. default n
  21. config ARCH_MM_MMU
  22. bool
  23. config ARCH_MM_MPU
  24. bool
  25. config ARCH_ARM
  26. bool
  27. config ARCH_ARM_CORTEX_M
  28. bool
  29. select ARCH_ARM
  30. config ARCH_ARM_CORTEX_FPU
  31. bool
  32. config ARCH_ARM_CORTEX_SECURE
  33. bool
  34. config ARCH_ARM_CORTEX_M0
  35. bool
  36. select ARCH_ARM_CORTEX_M
  37. config ARCH_ARM_CORTEX_M3
  38. bool
  39. select ARCH_ARM_CORTEX_M
  40. select RT_USING_CPU_FFS
  41. select RT_USING_HW_ATOMIC
  42. config ARCH_ARM_MPU
  43. bool
  44. depends on ARCH_ARM
  45. select ARCH_MM_MPU
  46. config ARCH_ARM_CORTEX_M4
  47. bool
  48. select ARCH_ARM_CORTEX_M
  49. select RT_USING_CPU_FFS
  50. select RT_USING_HW_ATOMIC
  51. config ARCH_ARM_CORTEX_M7
  52. bool
  53. select ARCH_ARM_CORTEX_M
  54. select RT_USING_CPU_FFS
  55. select RT_USING_CACHE
  56. select RT_USING_HW_ATOMIC
  57. config ARCH_ARM_CORTEX_M33
  58. bool
  59. select ARCH_ARM_CORTEX_M
  60. select RT_USING_CPU_FFS
  61. select RT_USING_HW_ATOMIC
  62. config ARCH_ARM_CORTEX_R
  63. bool
  64. select ARCH_ARM
  65. select RT_USING_HW_ATOMIC
  66. config ARCH_ARM_MMU
  67. bool
  68. select RT_USING_CACHE
  69. select ARCH_MM_MMU
  70. depends on ARCH_ARM
  71. if RT_USING_SMART
  72. config KERNEL_VADDR_START
  73. hex "The virtural address of kernel start"
  74. default 0xffff000000000000 if ARCH_ARMV8
  75. default 0xc0000000 if ARCH_ARM
  76. default 0x80000000 if ARCH_RISCV
  77. depends on ARCH_MM_MMU
  78. config RT_IOREMAP_LATE
  79. bool "Support to create IO mapping in the kernel address space after system initlalization."
  80. default n
  81. depends on ARCH_ARM_CORTEX_A
  82. depends on ARCH_MM_MMU
  83. endif
  84. config ARCH_ARM_ARM9
  85. bool
  86. select ARCH_ARM
  87. config ARCH_ARM_ARM11
  88. bool
  89. select ARCH_ARM
  90. config ARCH_ARM_CORTEX_A
  91. bool
  92. select ARCH_ARM
  93. select ARCH_ARM_MMU
  94. select RT_USING_CPU_FFS
  95. select RT_USING_HW_ATOMIC
  96. if ARCH_ARM_CORTEX_A
  97. config RT_SMP_AUTO_BOOT
  98. bool
  99. default n
  100. config RT_USING_GIC_V2
  101. bool
  102. default n
  103. config RT_USING_GIC_V3
  104. bool
  105. default n
  106. config RT_NO_USING_GIC
  107. bool
  108. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  109. endif
  110. config ARCH_ARM_CORTEX_A5
  111. bool
  112. select ARCH_ARM_CORTEX_A
  113. config ARCH_ARM_CORTEX_A7
  114. bool
  115. select ARCH_ARM_CORTEX_A
  116. config ARCH_ARM_CORTEX_A8
  117. bool
  118. select ARCH_ARM_CORTEX_A
  119. config ARCH_ARM_CORTEX_A9
  120. bool
  121. select ARCH_ARM_CORTEX_A
  122. config ARCH_ARM_CORTEX_A55
  123. bool
  124. select ARCH_ARM_CORTEX_A
  125. config ARCH_ARM_SECURE_MODE
  126. bool "Running in secure mode [ARM Cortex-A]"
  127. default n
  128. depends on ARCH_ARM_CORTEX_A
  129. config RT_BACKTRACE_FUNCTION_NAME
  130. bool "To show function name when backtrace."
  131. default n
  132. depends on ARCH_ARM_CORTEX_A
  133. config ARCH_ARMV8
  134. bool
  135. select ARCH_ARM
  136. select ARCH_ARM_MMU
  137. config ARCH_MIPS
  138. bool
  139. config ARCH_MIPS64
  140. bool
  141. select ARCH_CPU_64BIT
  142. config ARCH_MIPS_XBURST
  143. bool
  144. select ARCH_MIPS
  145. config ARCH_ANDES
  146. bool
  147. config ARCH_CSKY
  148. bool
  149. config ARCH_POWERPC
  150. bool
  151. config ARCH_RISCV
  152. bool
  153. config ARCH_RISCV_FPU
  154. bool
  155. config ARCH_RISCV_FPU_S
  156. select ARCH_RISCV_FPU
  157. bool
  158. config ARCH_RISCV_FPU_D
  159. select ARCH_RISCV_FPU
  160. bool
  161. config ARCH_RISCV32
  162. select ARCH_RISCV
  163. bool
  164. config ARCH_RISCV64
  165. select ARCH_RISCV
  166. select ARCH_CPU_64BIT
  167. bool
  168. config ARCH_IA32
  169. bool
  170. config ARCH_TIDSP
  171. bool
  172. config ARCH_TIDSP_C28X
  173. bool
  174. select ARCH_TIDSP
  175. select ARCH_CPU_STACK_GROWS_UPWARD
  176. config ARCH_HOST_SIMULATOR
  177. bool
  178. config ARCH_CPU_STACK_GROWS_UPWARD
  179. bool
  180. default n
  181. source "$RTT_DIR/libcpu/aarch64/Kconfig"
  182. endmenu