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

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

W
Wayne 已提交
16 17 18
#define LV_COLOR_DEPTH                  BSP_LCD_BPP
#define LV_HOR_RES_MAX                  BSP_LCD_WIDTH
#define LV_VER_RES_MAX                  BSP_LCD_HEIGHT
19 20 21

#define LV_FONT_MONTSERRAT_12           1
#define LV_FONT_MONTSERRAT_16           1
W
Wayne 已提交
22
#define LV_USE_PERF_MONITOR             1
23
//#define CONFIG_LV_LOG_LEVEL LV_LOG_LEVEL_TRACE
W
Wayne 已提交
24 25 26

//#define LV_USE_DEMO_RTT_MUSIC         1
#if LV_USE_DEMO_RTT_MUSIC
mysterywolf's avatar
mysterywolf 已提交
27
    #define LV_COLOR_SCREEN_TRANSP        1
W
Wayne 已提交
28 29 30 31 32 33 34 35 36 37
    #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

38
#endif