Kconfig 1.3 KB

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