2022-03-12 07:00:53 +08:00
|
|
|
/*
|
2022-09-12 19:36:11 +08:00
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
2022-03-12 07:00:53 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2022-2-17 Wayne First version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LV_CONF_H
|
|
|
|
#define LV_CONF_H
|
|
|
|
|
2022-06-03 10:01:15 +08:00
|
|
|
#include "rtconfig.h"
|
2022-03-12 07:00:53 +08:00
|
|
|
|
2022-06-03 10:01:15 +08:00
|
|
|
#define LV_COLOR_DEPTH BSP_LCD_BPP
|
|
|
|
#define LV_HOR_RES_MAX BSP_LCD_WIDTH
|
|
|
|
#define LV_VER_RES_MAX BSP_LCD_HEIGHT
|
2022-03-12 07:00:53 +08:00
|
|
|
|
|
|
|
#define LV_FONT_MONTSERRAT_12 1
|
|
|
|
#define LV_FONT_MONTSERRAT_16 1
|
2022-06-03 10:01:15 +08:00
|
|
|
#define LV_USE_PERF_MONITOR 1
|
2022-03-12 07:00:53 +08:00
|
|
|
//#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE
|
2022-06-03 10:01:15 +08:00
|
|
|
|
|
|
|
//#define LV_USE_DEMO_RTT_MUSIC 1
|
|
|
|
#if LV_USE_DEMO_RTT_MUSIC
|
2022-07-06 15:35:37 +08:00
|
|
|
#define LV_COLOR_SCREEN_TRANSP 1
|
2022-06-03 10:01:15 +08:00
|
|
|
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY 1
|
|
|
|
|
|
|
|
#define LV_USE_DEMO_MUSIC 1
|
|
|
|
#define LV_DEMO_MUSIC_AUTO_PLAY 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Please comment LV_USE_DEMO_RTT_MUSIC declaration before un-comment below */
|
|
|
|
#define LV_USE_DEMO_WIDGETS 1
|
|
|
|
//#define LV_USE_DEMO_BENCHMARK 1
|
|
|
|
|
2022-03-12 07:00:53 +08:00
|
|
|
#endif
|