forked from wosayttn/lv_port_nuvoton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlv_conf.h
43 lines (34 loc) · 1.41 KB
/
lv_conf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**************************************************************************//**
* @file lv_conf.h
* @brief lvgl configuration
*
* SPDX-License-Identifier: Apache-2.0
* @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
*****************************************************************************/
#ifndef LV_CONF_H
#define LV_CONF_H
#define LV_USE_OS LV_OS_NONE
#define LV_HOR_RES_MAX 320
#define LV_VER_RES_MAX 240
#define LV_COLOR_DEPTH 16
#define LV_FONT_MONTSERRAT_12 1
#define LV_FONT_MONTSERRAT_16 1
/* Please comment LV_USE_DEMO_MUSIC declaration before un-comment below */
#define LV_USE_DEMO_WIDGETS 1
//#define LV_USE_DEMO_MUSIC 1
#if LV_USE_DEMO_MUSIC
#define LV_DEMO_MUSIC_AUTO_PLAY 1
#endif
#define LV_USE_SYSMON 1
#define LV_USE_PERF_MONITOR 1
#define LV_USE_LOG 0
#define CONFIG_LV_MEM_SIZE (56*1024U)
#if LV_USE_LOG == 1
//#define LV_LOG_LEVEL LV_LOG_LEVEL_TRACE
#define LV_LOG_LEVEL LV_LOG_LEVEL_INFO
//#define LV_LOG_LEVEL LV_LOG_LEVEL_WARN
//#define LV_LOG_LEVEL LV_LOG_LEVEL_ERROR
//#define LV_LOG_LEVEL LV_LOG_LEVEL_USER
//#define LV_LOG_LEVEL LV_LOG_LEVEL_NONE
#endif
#endif