2021-10-19 14:46:48 +08:00
|
|
|
menu "RISC-V QEMU virt64 configs"
|
2021-05-18 09:57:25 +08:00
|
|
|
|
2021-05-21 17:03:30 +08:00
|
|
|
config RISCV_S_MODE
|
2021-10-19 14:46:48 +08:00
|
|
|
bool "RT-Thread run in RISC-V S-Mode(supervisor mode)"
|
2021-05-21 17:03:30 +08:00
|
|
|
default y
|
2021-05-18 09:57:25 +08:00
|
|
|
|
2022-12-03 12:07:44 +08:00
|
|
|
config RT_USING_VIRTIO
|
|
|
|
bool "Using VirtIO"
|
|
|
|
default y
|
|
|
|
depends on RT_USING_DEVICE_OPS
|
|
|
|
|
|
|
|
config BSP_USING_VIRTIO_BLK
|
|
|
|
bool "Using VirtIO BLK"
|
|
|
|
default y
|
|
|
|
depends on RT_USING_VIRTIO
|
|
|
|
|
|
|
|
config BSP_USING_VIRTIO_NET
|
|
|
|
bool "Using VirtIO NET"
|
|
|
|
default y
|
|
|
|
depends on RT_USING_VIRTIO
|
|
|
|
|
|
|
|
config BSP_USING_VIRTIO_CONSOLE
|
|
|
|
bool "Using VirtIO Console"
|
|
|
|
default y
|
|
|
|
depends on RT_USING_VIRTIO
|
|
|
|
|
|
|
|
config BSP_USING_VIRTIO_GPU
|
|
|
|
bool "Using VirtIO GPU"
|
|
|
|
default y
|
|
|
|
depends on RT_USING_VIRTIO
|
|
|
|
|
|
|
|
config BSP_USING_VIRTIO_INPUT
|
|
|
|
bool "Using VirtIO Input"
|
|
|
|
default y
|
|
|
|
depends on RT_USING_VIRTIO
|
|
|
|
|
|
|
|
menuconfig BSP_USING_UART1
|
|
|
|
bool "Enable UART1"
|
|
|
|
default n
|
|
|
|
if BSP_USING_UART1
|
|
|
|
config BSP_UART1_TXD_PIN
|
|
|
|
int "uart1 TXD pin number"
|
|
|
|
default 20
|
|
|
|
config BSP_UART1_RXD_PIN
|
|
|
|
int "uart1 RXD pin number"
|
|
|
|
default 21
|
|
|
|
endif
|
2021-05-21 17:03:30 +08:00
|
|
|
endmenu
|