[qemu] update Kconfig
This commit is contained in:
parent
462f093cbd
commit
fbe71b7b30
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue