Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. select ARCH_REMAP_KERNEL
  26. select RT_USING_HW_ATOMIC
  27. default y
  28. config ENABLE_FPU
  29. bool "Enable FPU"
  30. default y
  31. config ENABLE_VECTOR
  32. bool "Using RISC-V Vector Extension"
  33. default n
  34. if ENABLE_VECTOR
  35. choice
  36. prompt "Vector Registers Length in Bits"
  37. default ARCH_VECTOR_VLEN_128
  38. config ARCH_VECTOR_VLEN_128
  39. bool "128"
  40. config ARCH_VECTOR_VLEN_256
  41. bool "256"
  42. endchoice
  43. endif
  44. config RT_USING_USERSPACE_32BIT_LIMIT
  45. bool "Enable userspace 32bit limit"
  46. default n
  47. config RT_USING_VIRTIO_MMIO_ALIGN
  48. bool "Open packed attribution, this may caused an error on virtio"
  49. default n
  50. config ARCH_USING_NEW_CTX_SWITCH
  51. bool
  52. default y
  53. config __STACKSIZE__
  54. int "stack size for interrupt"
  55. default 4096