summaryrefslogtreecommitdiff
path: root/bsp/qemu-virt64-riscv/Kconfig
blob: baba24be4a6a38ee14fa9636b63df400ef22a643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
mainmenu "RT-Thread Project Configuration"

config BSP_DIR
    string
    option env="BSP_ROOT"
    default "."

config RTT_DIR
    string
    option env="RTT_ROOT"
    default "../../"

config PKGS_DIR
    string
    option env="PKGS_ROOT"
    default "packages"

source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "driver/Kconfig"

config BOARD_QEMU_VIRT_RV64
    bool
    select ARCH_RISCV64
    select ARCH_CONTEXT_EXTEND
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    select RT_USING_CACHE
    select ARCH_MM_MMU
    default y

config ENABLE_FPU
    bool "Enable FPU"
    default y

config ENABLE_VECTOR
    bool "Using RISC-V Vector Extension"
    default n

if ENABLE_VECTOR
    choice
    prompt "Vector Registers Length in Bits"
    default ARCH_VECTOR_VLEN_128

    config ARCH_VECTOR_VLEN_128
        bool "128"

    config ARCH_VECTOR_VLEN_256
        bool "256"
    endchoice
endif

config RT_USING_USERSPACE_32BIT_LIMIT
    bool "Enable userspace 32bit limit"
    default n

config RT_USING_VIRTIO_MMIO_ALIGN
    bool "Open packed attribution, this may caused an error on virtio"
    default n

config ARCH_USING_NEW_CTX_SWITCH
    bool
    default y

config __STACKSIZE__
    int "stack size for interrupt"
    default 4096