-
Notifications
You must be signed in to change notification settings - Fork 245
Expand file tree
/
Copy pathlv_conf.defaults
More file actions
173 lines (140 loc) · 3.87 KB
/
lv_conf.defaults
File metadata and controls
173 lines (140 loc) · 3.87 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# This file gets converted into a `lv_conf.h` at compile time
# A list of all configuration options can be found inside `lvgl/lv_conf_template.h`
# You can also start from a vast list of configs inside the configs folder.
# To use one of those configs directly, set the `CONFIG` CMake variable:
# eg: `cmake -B build -DCONFIG=drm-egl-2d` for `configs/drm-egl-2d.defaults`
LV_COLOR_DEPTH 16
# Draw units
# A draw unit is responsible for how the LVGL UI is rendered to the draw buffer
# tip: use LV_DRAW_SW_ASM_NEON if your MPU supports NEON
LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_NONE
# OpenGL
LV_USE_DRAW_NANOVG 0
LV_USE_NANOVG 0
# G2D
LV_USE_DRAW_G2D 0
# SDL
LV_USE_DRAW_SDL 0
# Display drivers
# A display driver is responsible for how the draw buffer is rendered to the screen
# Simple framebuffer device
LV_USE_LINUX_FBDEV 1
LV_LINUX_FBDEV_RENDER_MODE LV_DISPLAY_RENDER_MODE_DIRECT
LV_LINUX_FBDEV_BUFFER_COUNT 2
# DRM Support
LV_USE_LINUX_DRM 0
LV_USE_LINUX_DRM_GBM_BUFFERS 0
# SDL2
LV_USE_SDL 0
LV_SDL_RENDER_MODE LV_DISPLAY_RENDER_MODE_DIRECT
LV_SDL_BUF_COUNT 1
LV_SDL_ACCELERATED 1
LV_SDL_FULLSCREEN 0
LV_SDL_DIRECT_EXIT 1
LV_SDL_MOUSEWHEEL_MODE LV_SDL_MOUSEWHEEL_MODE_ENCODER
# Wayland
LV_USE_WAYLAND 0
LV_WAYLAND_DIRECT_EXIT 1
# GLFW
# GLFW requires LV_USE_OPENGLES
LV_USE_GLFW 0
# Input support (enable when using FBDEV or DRM)
LV_USE_EVDEV 1
LV_USE_LIBINPUT 0
# Auxiliary drivers
LV_USE_OPENGLES 0
# Demos
# Requires GLFW or EGL
LV_USE_DEMO_GLTF 0
# Demos from `https://github.com/lvgl/lv_demos`
LV_USE_DEMO_HIGH_RES 0
LV_USE_DEMO_SCROLL 0
LV_USE_DEMO_TRANSFORM 0
LV_USE_DEMO_MULTILANG 0
LV_USE_DEMO_FLEX_LAYOUT 0
# TTF decoder
LV_USE_TINY_TTF 1
# Support using images as font in label or span widgets
LV_USE_IMGFONT 1
# FS support
LV_USE_FS_STDIO 1
LV_FS_DEFAULT_DRIVER_LETTER 'A'
LV_FS_STDIO_LETTER 'A'
# Image decoding
LV_BIN_DECODER_RAM_LOAD 1
LV_USE_TJPGD 1
LV_USE_LODEPNG 1
LV_USE_BMP 1
# Compression
LV_USE_LZ4_INTERNAL 1
LV_USE_RLE 1
# Misc
LV_USE_OBJ_NAME 1
LV_USE_BARCODE 1
LV_USE_QRCODE 1
# Examples
LV_BUILD_EXAMPLES 1
# Demos
LV_BUILD_DEMOS 1
LV_USE_DEMO_WIDGETS 1
LV_USE_DEMO_KEYPAD_AND_ENCODER 1
LV_USE_DEMO_BENCHMARK 1
LV_USE_DEMO_RENDER 1
LV_USE_DEMO_STRESS 1
LV_USE_DEMO_MUSIC 1
# Enable logging for easier debugging
LV_USE_LOG 1
LV_LOG_LEVEL LV_LOG_LEVEL_WARN
LV_LOG_PRINTF 1
# Enable sysmon to track performance
LV_USE_SYSMON 1
LV_USE_PERF_MONITOR 1
LV_SYSMON_PROC_IDLE_AVAILABLE 1
# Vector graphics
LV_USE_FLOAT 1
LV_USE_MATRIX 1
LV_USE_VECTOR_GRAPHIC 1
LV_USE_THORVG_INTERNAL 1
LV_USE_LOTTIE 1
# Assert handler
LV_ASSERT_HANDLER_INCLUDE <assert.h>
LV_ASSERT_HANDLER assert(0);
# FS support
LV_USE_FS_STDIO 1
LV_FS_DEFAULT_DRIVER_LETTER 'A'
LV_FS_STDIO_LETTER 'A'
# Performance
LV_DRAW_LAYER_SIMPLE_BUF_SIZE (256 * 1024)
LV_OBJ_STYLE_CACHE 1
# Gradients
LV_USE_DRAW_SW_COMPLEX_GRADIENTS 1
LV_DRAW_TRANSFORM_USE_MATRIX 1
# Enable built-in fonts
LV_FONT_MONTSERRAT_12 1
LV_FONT_MONTSERRAT_14 1
LV_FONT_MONTSERRAT_16 1
LV_FONT_MONTSERRAT_18 1
LV_FONT_MONTSERRAT_20 1
LV_FONT_MONTSERRAT_22 1
LV_FONT_MONTSERRAT_24 1
LV_FONT_MONTSERRAT_26 1
LV_FONT_MONTSERRAT_28 1
LV_FONT_MONTSERRAT_30 1
LV_FONT_MONTSERRAT_32 1
LV_FONT_MONTSERRAT_34 1
LV_FONT_MONTSERRAT_36 1
LV_FONT_MONTSERRAT_38 1
LV_FONT_MONTSERRAT_40 1
LV_FONT_MONTSERRAT_42 1
LV_FONT_MONTSERRAT_44 1
LV_FONT_MONTSERRAT_46 1
LV_FONT_MONTSERRAT_48 1
LV_FONT_MONTSERRAT_28_COMPRESSED 1
LV_FONT_DEJAVU_16_PERSIAN_HEBREW 1
LV_FONT_SOURCE_HAN_SANS_SC_16_CJK 1
LV_FONT_UNSCII_8 1
LV_FONT_FMT_TXT_LARGE 1
# Stdlib
LV_USE_STDLIB_MALLOC LV_STDLIB_CLIB
LV_USE_STDLIB_STRING LV_STDLIB_CLIB
LV_USE_STDLIB_SPRINTF LV_STDLIB_CLIB