2022-03-11 12:13:56 +08:00
|
|
|
/*
|
2023-04-11 17:16:22 +08:00
|
|
|
* Copyright (c) 2006-2023, RT-Thread Development Team
|
2022-03-11 12:13:56 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2021-10-18 Meco Man First version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LV_CONF_H
|
|
|
|
#define LV_CONF_H
|
|
|
|
|
2022-05-06 02:21:21 +08:00
|
|
|
#include <rtconfig.h>
|
|
|
|
|
2022-03-11 12:13:56 +08:00
|
|
|
#define LV_USE_PERF_MONITOR 1
|
|
|
|
#define LV_COLOR_DEPTH 16
|
2022-07-06 15:35:37 +08:00
|
|
|
#define LV_HOR_RES_MAX LCD_WIDTH
|
|
|
|
#define LV_VER_RES_MAX LCD_HEIGHT
|
2022-03-11 12:13:56 +08:00
|
|
|
|
|
|
|
#define LV_USE_NXP_SOC 1
|
|
|
|
//#define LV_USE_GPU_NXP_PXP 1
|
|
|
|
//#define LV_USE_GPU_NXP_VG_LITE 0
|
|
|
|
//#define LV_USE_GPU_NXP_PXP_AUTO_INIT 1
|
|
|
|
|
|
|
|
#define LV_ATTRIBUTE_MEM_ALIGN_SIZE 64
|
|
|
|
|
2022-07-06 15:35:37 +08:00
|
|
|
#ifdef PKG_USING_LV_MUSIC_DEMO
|
2022-03-11 12:13:56 +08:00
|
|
|
/* 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
|
2022-07-06 15:35:37 +08:00
|
|
|
#define LV_COLOR_SCREEN_TRANSP 1
|
|
|
|
#endif /* PKG_USING_LV_MUSIC_DEMO */
|
2022-03-11 12:13:56 +08:00
|
|
|
|
|
|
|
#endif
|