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