Kconfig 1.1 KB

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