lv_conf.h 1013 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * 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

W
Wayne Lin 已提交
14
#include "rtconfig.h"
15

16 17
#define LV_VERSION_EQUAL(x,y,z) (x == LVGL_VERSION_MAJOR && y==LVGL_VERSION_MINOR  && z==LVGL_VERSION_PATCH )

W
Wayne Lin 已提交
18
//#define LV_USE_GPU_N9H30_GE2D   1
19

W
Wayne Lin 已提交
20 21 22
#define LV_COLOR_DEPTH                  BSP_LCD_BPP
#define LV_HOR_RES_MAX                  BSP_LCD_WIDTH
#define LV_VER_RES_MAX                  BSP_LCD_HEIGHT
23 24 25

#define LV_FONT_MONTSERRAT_12           1
#define LV_FONT_MONTSERRAT_16           1
W
Wayne Lin 已提交
26 27
#define LV_USE_PERF_MONITOR             1

28
#if LV_VERSION_EQUAL(8, 1, 0)		
W
Wayne Lin 已提交
29
#define LV_USE_DEMO_RTT_MUSIC           1
30
#define LV_DEMO_RTT_MUSIC_AUTO_PLAY     1
31 32 33 34
#else
#define LV_USE_DEMO_MUSIC           1
#define LV_DEMO_MUSIC_AUTO_PLAY     1
#endif
35

W
Wayne Lin 已提交
36 37
//#define LV_DISP_DEF_REFR_PERIOD         16

38 39
//#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE
#endif