提交 15cd71ba 编写于 作者: mysterywolf's avatar mysterywolf 提交者: guo

[lvgl] adapt lvgl 8.3.0

上级 aa2d2c63
......@@ -15,6 +15,8 @@
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 16
#define LV_HOR_RES_MAX LCD_WIDTH
#define LV_VER_RES_MAX LCD_HEIGHT
#define LV_USE_NXP_SOC 1
//#define LV_USE_GPU_NXP_PXP 1
......@@ -23,12 +25,13 @@
#define LV_ATTRIBUTE_MEM_ALIGN_SIZE 64
#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
#define LV_HOR_RES_MAX LCD_WIDTH
#define LV_VER_RES_MAX LCD_HEIGHT
#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_16 1
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif
......@@ -24,6 +24,7 @@
//#define LV_USE_DEMO_RTT_MUSIC 1
#if LV_USE_DEMO_RTT_MUSIC
#define LV_COLOR_SCREEN_TRANSP 1
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
#define LV_USE_DEMO_MUSIC 1
......
......@@ -38,6 +38,7 @@
//#define LV_USE_DEMO_RTT_MUSIC 1
#if LV_USE_DEMO_RTT_MUSIC
#define LV_COLOR_SCREEN_TRANSP 1
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
#define LV_USE_DEMO_MUSIC 1
......
......@@ -24,6 +24,7 @@
//#define LV_USE_DEMO_RTT_MUSIC 1
#if LV_USE_DEMO_RTT_MUSIC
#define LV_COLOR_SCREEN_TRANSP 1
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
#define LV_USE_DEMO_MUSIC 1
......
......@@ -24,6 +24,7 @@
//#define LV_USE_DEMO_RTT_MUSIC 1
#if LV_USE_DEMO_RTT_MUSIC
#define LV_COLOR_SCREEN_TRANSP 1
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
#define LV_USE_DEMO_MUSIC 1
......
......@@ -24,6 +24,7 @@
//#define LV_USE_DEMO_RTT_MUSIC 1
#if LV_USE_DEMO_RTT_MUSIC
#define LV_COLOR_SCREEN_TRANSP 1
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
#define LV_USE_DEMO_MUSIC 1
......
......@@ -24,6 +24,7 @@
//#define LV_USE_DEMO_RTT_MUSIC 1
#if LV_USE_DEMO_RTT_MUSIC
#define LV_COLOR_SCREEN_TRANSP 1
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
#define LV_USE_DEMO_MUSIC 1
......
......@@ -15,13 +15,16 @@
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 16
/* music player demo */
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
#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_16 1
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif
......@@ -14,13 +14,16 @@
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 16
#define LV_COLOR_16_SWAP 1
#define LV_HOR_RES_MAX 240
#define LV_VER_RES_MAX 240
#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
#define LV_HOR_RES_MAX 240
#define LV_VER_RES_MAX 240
#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_16 1
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif
......@@ -15,18 +15,21 @@
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 32
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
#define USE_WIN32DRV 1
#define WIN32DRV_MONITOR_ZOOM 1
//#define LV_USE_FS_WIN32 1
#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
#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_16 1
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif
......@@ -11,16 +11,20 @@
#ifndef LV_CONF_H
#define LV_CONF_H
#define LV_COLOR_16_SWAP 0
#define LV_COLOR_DEPTH 16
#define LV_USE_PERF_MONITOR 1
#include <rtconfig.h>
#define LV_COLOR_DEPTH 16
#define LV_USE_PERF_MONITOR 1
#define LV_HOR_RES_MAX 800
#define LV_VER_RES_MAX 480
#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
#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_16 1
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif
......@@ -13,16 +13,19 @@
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 16
#define LV_HOR_RES_MAX 800
#define LV_VER_RES_MAX 480
#define LV_USE_GPU_STM32_DMA2D 1
#define LV_GPU_DMA2D_CMSIS_INCLUDE "stm32f469xx.h"
#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
#define LV_HOR_RES_MAX 800
#define LV_VER_RES_MAX 480
#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_16 1
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif
......@@ -16,17 +16,18 @@
#define LCD_W 480
#define LCD_H 320
#define LV_COLOR_16_SWAP 0
#define LV_COLOR_DEPTH 32
#define LV_USE_PERF_MONITOR 1
#define LV_COLOR_DEPTH 32
#define LV_USE_PERF_MONITOR 1
#define LV_HOR_RES_MAX LCD_W
#define LV_VER_RES_MAX LCD_H
#ifdef PKG_USING_LV_MUSIC_DEMO
/* music player demo */
#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_16 1
#define LV_COLOR_SCREEN_TRANSP 1
#endif /* PKG_USING_LV_MUSIC_DEMO */
#endif
......@@ -11,8 +11,8 @@
#ifndef LV_CONF_H
#define LV_CONF_H
#define LV_COLOR_16_SWAP 1
#define LV_COLOR_DEPTH 16
#define LV_COLOR_16_SWAP 1
#define LV_COLOR_DEPTH 16
#define LV_USE_PERF_MONITOR 1
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册