2021-05-18 09:57:25 +08:00
|
|
|
mainmenu "RT-Thread Project Configuration"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
BSP_DIR := .
|
2021-05-18 09:57:25 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
RTT_DIR := ../../
|
2021-05-18 09:57:25 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
PKGS_DIR := packages
|
2021-05-18 09:57:25 +08:00
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
|
|
osource "$PKGS_DIR/Kconfig"
|
|
|
|
rsource "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
|
2024-07-15 12:06:17 +08:00
|
|
|
select ARCH_USING_RISCV_COMMON64
|
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
|
2024-06-18 11:15:59 +08:00
|
|
|
select ARCH_REMAP_KERNEL
|
2021-05-18 09:57:25 +08:00
|
|
|
default y
|
|
|
|
|
2022-12-03 12:07:44 +08:00
|
|
|
config ENABLE_FPU
|
|
|
|
bool "Enable FPU"
|
2024-09-02 14:23:10 +08:00
|
|
|
select ARCH_RISCV_FPU
|
2022-12-03 12:07:44 +08:00
|
|
|
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
|
2023-01-09 10:14:23 +08:00
|
|
|
|
2022-12-03 12:07:44 +08:00
|
|
|
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
|
|
|
|
|
2021-05-18 09:57:25 +08:00
|
|
|
config __STACKSIZE__
|
|
|
|
int "stack size for interrupt"
|
|
|
|
default 4096
|