Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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_M23
  58. bool
  59. select ARCH_ARM_CORTEX_M
  60. select RT_USING_HW_ATOMIC
  61. config ARCH_ARM_CORTEX_M33
  62. bool
  63. select ARCH_ARM_CORTEX_M
  64. select RT_USING_CPU_FFS
  65. select RT_USING_HW_ATOMIC
  66. config ARCH_ARM_CORTEX_R
  67. bool
  68. select ARCH_ARM
  69. select RT_USING_HW_ATOMIC
  70. config ARCH_ARM_MMU
  71. bool
  72. select RT_USING_CACHE
  73. select ARCH_MM_MMU
  74. depends on ARCH_ARM
  75. if RT_USING_SMART
  76. config KERNEL_VADDR_START
  77. hex "The virtural address of kernel start"
  78. default 0xffff000000000000 if ARCH_ARMV8
  79. default 0xc0000000 if ARCH_ARM
  80. default 0x80000000 if ARCH_RISCV
  81. depends on ARCH_MM_MMU
  82. config RT_IOREMAP_LATE
  83. bool "Support to create IO mapping in the kernel address space after system initlalization."
  84. default n
  85. depends on ARCH_ARM_CORTEX_A
  86. depends on ARCH_MM_MMU
  87. endif
  88. config ARCH_ARM_ARM9
  89. bool
  90. select ARCH_ARM
  91. config ARCH_ARM_ARM11
  92. bool
  93. select ARCH_ARM
  94. config ARCH_ARM_CORTEX_A
  95. bool
  96. select ARCH_ARM
  97. select ARCH_ARM_MMU
  98. select RT_USING_CPU_FFS
  99. select RT_USING_HW_ATOMIC
  100. if ARCH_ARM_CORTEX_A
  101. config RT_SMP_AUTO_BOOT
  102. bool
  103. default n
  104. config RT_USING_GIC_V2
  105. bool
  106. default n
  107. config RT_USING_GIC_V3
  108. bool
  109. default n
  110. config RT_NO_USING_GIC
  111. bool
  112. default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
  113. endif
  114. config ARCH_ARM_CORTEX_A5
  115. bool
  116. select ARCH_ARM_CORTEX_A
  117. config ARCH_ARM_CORTEX_A7
  118. bool
  119. select ARCH_ARM_CORTEX_A
  120. config ARCH_ARM_CORTEX_A8
  121. bool
  122. select ARCH_ARM_CORTEX_A
  123. config ARCH_ARM_CORTEX_A9
  124. bool
  125. select ARCH_ARM_CORTEX_A
  126. config ARCH_ARM_CORTEX_A55
  127. bool
  128. select ARCH_ARM_CORTEX_A
  129. config ARCH_ARM_SECURE_MODE
  130. bool "Running in secure mode [ARM Cortex-A]"
  131. default n
  132. depends on ARCH_ARM_CORTEX_A
  133. config RT_BACKTRACE_FUNCTION_NAME
  134. bool "To show function name when backtrace."
  135. default n
  136. depends on ARCH_ARM_CORTEX_A
  137. config ARCH_ARMV8
  138. bool
  139. select ARCH_ARM
  140. select ARCH_ARM_MMU
  141. config ARCH_MIPS
  142. bool
  143. config ARCH_MIPS64
  144. bool
  145. select ARCH_CPU_64BIT
  146. config ARCH_MIPS_XBURST
  147. bool
  148. select ARCH_MIPS
  149. config ARCH_ANDES
  150. bool
  151. config ARCH_CSKY
  152. bool
  153. config ARCH_POWERPC
  154. bool
  155. config ARCH_RISCV
  156. bool
  157. config ARCH_RISCV_FPU
  158. bool
  159. config ARCH_RISCV_FPU_S
  160. select ARCH_RISCV_FPU
  161. bool
  162. config ARCH_RISCV_FPU_D
  163. select ARCH_RISCV_FPU
  164. bool
  165. config ARCH_RISCV32
  166. select ARCH_RISCV
  167. bool
  168. config ARCH_RISCV64
  169. select ARCH_RISCV
  170. select ARCH_CPU_64BIT
  171. bool
  172. config ARCH_IA32
  173. bool
  174. config ARCH_TIDSP
  175. bool
  176. config ARCH_TIDSP_C28X
  177. bool
  178. select ARCH_TIDSP
  179. select ARCH_CPU_STACK_GROWS_UPWARD
  180. config ARCH_HOST_SIMULATOR
  181. bool
  182. config ARCH_CPU_STACK_GROWS_UPWARD
  183. bool
  184. default n
  185. source "$RTT_DIR/libcpu/aarch64/Kconfig"
  186. endmenu