Merge pull request #5355 from mysterywolf/qemu

[qemu] update Kconfig
This commit is contained in:
guo 2021-12-10 18:38:39 +08:00 committed by GitHub
commit 8a3ee36b1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 19 deletions

View File

@ -17,13 +17,4 @@ config PKGS_DIR
source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
config SOC_VEXPRESS_A9
bool
select ARCH_ARM_CORTEX_A9
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select RT_USING_GIC_V2
default y
source "$BSP_DIR/drivers/Kconfig"

View File

@ -1,13 +1,25 @@
menu "Hardware Drivers Config"
config SOC_VEXPRESS_A9
bool
select ARCH_ARM_CORTEX_A9
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
select RT_USING_GIC_V2
default y
menu "Onboard Peripheral Drivers"
config RT_USING_UART0
bool "Enable UART0"
default n
default y
config RT_USING_UART1
bool "Enable UART1"
default y
config BSP_USING_LVGL
bool "Enable LVGL"
bool "Enable LVGL for LCD"
select PKG_USING_LVGL
default n
config BSP_DRV_CLCD
@ -22,20 +34,26 @@ config BSP_DRV_MOUSE
if BSP_DRV_CLCD
config BSP_LCD_WIDTH
int "Width of LCD panel"
default 640
int "Width of LCD panel"
default 640
config BSP_LCD_HEIGHT
int "Height of LCD panel"
default 480
int "Height of LCD panel"
default 480
endif
config BSP_DRV_EMAC
bool "EMAC driver"
depends on RT_USING_LWIP
default y
bool "Enable EMAC driver"
select RT_USING_LWIP
select RT_USING_SAL
select SAL_USING_POSIX
default n
config BSP_DRV_AUDIO
bool "Audio driver"
select RT_USING_AUDIO
default n
endmenu
endmenu

View File

@ -2,4 +2,4 @@ if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536
fi
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin -show-curse