2021-05-18 09:57:25 +08:00
|
|
|
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"
|
2022-12-03 12:07:44 +08:00
|
|
|
source "driver/Kconfig"
|
2021-05-18 09:57:25 +08:00
|
|
|
|
2022-12-03 12:07:44 +08:00
|
|
|
config BOARD_QEMU_VIRT_RV64
|
2021-05-18 09:57:25 +08:00
|
|
|
bool
|
|
|
|
select ARCH_RISCV64
|
2022-12-03 12:07:44 +08:00
|
|
|
select ARCH_CONTEXT_EXTEND
|
2021-05-18 09:57:25 +08:00
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
2022-12-03 12:07:44 +08:00
|
|
|
select RT_USING_CACHE
|
|
|
|
select ARCH_MM_MMU
|
2021-05-18 09:57:25 +08:00
|
|
|
default y
|
|
|
|
|
2022-12-03 12:07:44 +08:00
|
|
|
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
|
2021-05-18 09:57:25 +08:00
|
|
|
|
|
|
|
config __STACKSIZE__
|
|
|
|
int "stack size for interrupt"
|
|
|
|
default 4096
|