mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 22:50:23 +08:00
Merge pull request #5388 from mysterywolf/qemu
[qemu][lvgl] update player demo configuration
This commit is contained in:
commit
1390f7d108
@ -17,6 +17,14 @@ config RT_USING_UART1
|
|||||||
bool "Enable UART1"
|
bool "Enable UART1"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config BSP_USING_LVGL
|
||||||
|
bool "Enable LVGL for LCD"
|
||||||
|
select PKG_USING_LVGL
|
||||||
|
select PKG_USING_LV_MUSIC_DEMO
|
||||||
|
select BSP_DRV_CLCD
|
||||||
|
select BSP_DRV_MOUSE
|
||||||
|
default n
|
||||||
|
|
||||||
config BSP_DRV_CLCD
|
config BSP_DRV_CLCD
|
||||||
bool "CLCD driver"
|
bool "CLCD driver"
|
||||||
default n
|
default n
|
||||||
@ -28,21 +36,15 @@ config BSP_DRV_MOUSE
|
|||||||
if BSP_DRV_CLCD
|
if BSP_DRV_CLCD
|
||||||
config BSP_LCD_WIDTH
|
config BSP_LCD_WIDTH
|
||||||
int "Width of LCD panel"
|
int "Width of LCD panel"
|
||||||
|
default 480 if PKG_USING_LV_MUSIC_DEMO
|
||||||
default 640
|
default 640
|
||||||
|
|
||||||
config BSP_LCD_HEIGHT
|
config BSP_LCD_HEIGHT
|
||||||
int "Height of LCD panel"
|
int "Height of LCD panel"
|
||||||
|
default 272 if PKG_USING_LV_MUSIC_DEMO
|
||||||
default 480
|
default 480
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config BSP_USING_LVGL
|
|
||||||
bool "Enable LVGL for LCD"
|
|
||||||
select PKG_USING_LVGL
|
|
||||||
select PKG_USING_LV_MUSIC_DEMO
|
|
||||||
select BSP_DRV_CLCD
|
|
||||||
select BSP_DRV_MOUSE
|
|
||||||
default n
|
|
||||||
|
|
||||||
config BSP_DRV_EMAC
|
config BSP_DRV_EMAC
|
||||||
bool "Enable EMAC driver"
|
bool "Enable EMAC driver"
|
||||||
select RT_USING_LWIP
|
select RT_USING_LWIP
|
||||||
|
@ -14,11 +14,12 @@
|
|||||||
#define LV_USE_PERF_MONITOR 1
|
#define LV_USE_PERF_MONITOR 1
|
||||||
#define LV_COLOR_DEPTH 16
|
#define LV_COLOR_DEPTH 16
|
||||||
|
|
||||||
#define LV_HOR_RES_MAX (640)
|
/* music player demo */
|
||||||
#define LV_VER_RES_MAX (480)
|
#include <rtconfig.h>
|
||||||
|
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
|
||||||
#define LV_USE_DEMO_MUSIC 1
|
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
|
||||||
#define LV_DEMO_MUSIC_AUTO_PLAY 1
|
#define LV_USE_DEMO_RTT_MUSIC 1
|
||||||
|
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
|
||||||
#define LV_FONT_MONTSERRAT_12 1
|
#define LV_FONT_MONTSERRAT_12 1
|
||||||
#define LV_FONT_MONTSERRAT_16 1
|
#define LV_FONT_MONTSERRAT_16 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user