Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bsp/qemu-vexpress-a9/.ci/attachconfig/ci.attachconfig.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# ------ PERIPHERAL CI ------
peripheral.UARTv2:
kconfig:
- CONFIG_RT_USING_SERIAL_V2=y
- CONFIG_BSP_USING_UART1=y
- CONFIG_BSP_USING_UART2=y
- CONFIG_BSP_USING_UART3=y
peripheral.EMAC:
kconfig:
- CONFIG_BSP_DRV_EMAC=y
Expand Down
182 changes: 117 additions & 65 deletions bsp/qemu-vexpress-a9/drivers/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,74 +11,126 @@ config SOC_VEXPRESS_A9
default y

menu "Onboard Peripheral Drivers"
menuconfig BSP_USING_UART
bool "Enable UART"
default y
select RT_USING_SERIAL
if BSP_USING_UART
config BSP_USING_UART0
bool "Enable UART0"
select RT_USING_UART0
menuconfig BSP_USING_UART
bool "Enable UART"
default y
select RT_USING_SERIAL
if BSP_USING_UART
menuconfig BSP_USING_UART0
bool "Enable UART0 (Debugger)"
default y
if BSP_USING_UART0
config BSP_UART0_RX_BUFSIZE
int "Set UART0 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 10240

config BSP_UART0_TX_BUFSIZE
int "Set UART0 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif

menuconfig BSP_USING_UART1
bool "Enable UART1"
default n
if BSP_USING_UART1
config BSP_UART1_RX_BUFSIZE
int "Set UART1 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 10240

config BSP_UART1_TX_BUFSIZE
int "Set UART1 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif

menuconfig BSP_USING_UART2
bool "Enable UART2"
default n
if BSP_USING_UART2
config BSP_UART2_RX_BUFSIZE
int "Set UART2 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 10240

config BSP_UART2_TX_BUFSIZE
int "Set UART2 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif

menuconfig BSP_USING_UART3
bool "Enable UART3"
default n
if BSP_USING_UART3
config BSP_UART3_RX_BUFSIZE
int "Set UART3 RX buffer size"
range 64 65535
depends on RT_USING_SERIAL_V2
default 10240

config BSP_UART3_TX_BUFSIZE
int "Set UART3 TX buffer size"
range 0 65535
depends on RT_USING_SERIAL_V2
default 0
endif

endif

config BSP_USING_LVGL
bool "Enable LVGL for LCD"
select PKG_USING_LVGL
select BSP_DRV_CLCD
select BSP_DRV_MOUSE
default n

if BSP_USING_LVGL
config BSP_USING_LVGL_DEMO
bool "Enable LVGL demo"
select PKG_USING_LV_MUSIC_DEMO
default y
config BSP_USING_UART1
bool "Enable UART1"
select RT_USING_UART1
default n
config BSP_USING_UART2
bool "Enable UART2"
select RT_USING_UART2
default n
config BSP_USING_UART3
bool "Enable UART3"
select RT_USING_UART3
default n
endif

config BSP_USING_LVGL
bool "Enable LVGL for LCD"
select PKG_USING_LVGL
select BSP_DRV_CLCD
select BSP_DRV_MOUSE
default n

if BSP_USING_LVGL
config BSP_USING_LVGL_DEMO
bool "Enable LVGL demo"
select PKG_USING_LV_MUSIC_DEMO
default y
endif

config BSP_DRV_CLCD
bool "CLCD driver"
select RT_USING_LCD
default n

config BSP_DRV_MOUSE
bool "MOUSE driver"
default n

if BSP_DRV_CLCD
config BSP_LCD_WIDTH
int "Width of LCD panel"
default 640

config BSP_LCD_HEIGHT
int "Height of LCD panel"
default 480
endif

config BSP_DRV_EMAC
bool "Enable EMAC driver"
select RT_USING_LWIP
select RT_USING_POSIX_FS
select RT_USING_POSIX_SOCKET
default n

config BSP_DRV_AUDIO
bool "Audio driver"
select RT_USING_AUDIO
default n
config BSP_DRV_CLCD
bool "CLCD driver"
select RT_USING_LCD
default n

endmenu
config BSP_DRV_MOUSE
bool "MOUSE driver"
default n

if BSP_DRV_CLCD
config BSP_LCD_WIDTH
int "Width of LCD panel"
default 640

config BSP_LCD_HEIGHT
int "Height of LCD panel"
default 480
endif

config BSP_DRV_EMAC
bool "Enable EMAC driver"
select RT_USING_LWIP
select RT_USING_POSIX_FS
select RT_USING_POSIX_SOCKET
default n

config BSP_DRV_AUDIO
bool "Audio driver"
select RT_USING_AUDIO
default n

endmenu

endmenu
Loading