Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. mainmenu "RT-Thread Project Configuration"
  2. config BSP_DIR
  3. string
  4. option env="BSP_ROOT"
  5. default "."
  6. config RTT_DIR
  7. string
  8. option env="RTT_ROOT"
  9. default "../../"
  10. config PKGS_DIR
  11. string
  12. option env="PKGS_ROOT"
  13. default "packages"
  14. source "$RTT_DIR/Kconfig"
  15. source "$PKGS_DIR/Kconfig"
  16. source "driver/Kconfig"
  17. config BOARD_QEMU_VIRT_RV64
  18. bool
  19. select ARCH_RISCV64
  20. select ARCH_CONTEXT_EXTEND
  21. select RT_USING_COMPONENTS_INIT
  22. select RT_USING_USER_MAIN
  23. select RT_USING_CACHE
  24. select ARCH_MM_MMU
  25. default y
  26. config ENABLE_FPU
  27. bool "Enable FPU"
  28. default y
  29. config ENABLE_VECTOR
  30. bool "Using RISC-V Vector Extension"
  31. default n
  32. if ENABLE_VECTOR
  33. choice
  34. prompt "Vector Registers Length in Bits"
  35. default ARCH_VECTOR_VLEN_128
  36. config ARCH_VECTOR_VLEN_128
  37. bool "128"
  38. config ARCH_VECTOR_VLEN_256
  39. bool "256"
  40. endchoice
  41. endif
  42. config RT_USING_USERSPACE_32BIT_LIMIT
  43. bool "Enable userspace 32bit limit"
  44. default n
  45. config RT_USING_VIRTIO_MMIO_ALIGN
  46. bool "Open packed attribution, this may caused an error on virtio"
  47. default n
  48. config ARCH_USING_NEW_CTX_SWITCH
  49. bool
  50. default y
  51. config __STACKSIZE__
  52. int "stack size for interrupt"
  53. default 4096