no-OS
Loading...
Searching...
No Matches
lv_conf.h
Go to the documentation of this file.
1
5
6/*
7 * Copy this file as `lv_conf.h`
8 * 1. simply next to `lvgl` folder
9 * 2. or to any other place and
10 * - define `LV_CONF_INCLUDE_SIMPLE`;
11 * - add the path as an include path.
12 */
13
14/* clang-format off */
15#if 1 /* Set this to "1" to enable content */
16
17#ifndef LV_CONF_H
18#define LV_CONF_H
19
20/* If you need to include anything here, do it inside the `__ASSEMBLY__` guard */
21#if 0 && defined(__ASSEMBLY__)
22#include "my_include.h"
23#endif
24
25/*====================
26 COLOR SETTINGS
27 *====================*/
28
30#define LV_COLOR_DEPTH 1
31
32/*=========================
33 STDLIB WRAPPER SETTINGS
34 *=========================*/
35
43#define LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN
44
52#define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN
53
61#define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN
62
63#define LV_STDINT_INCLUDE <stdint.h>
64#define LV_STDDEF_INCLUDE <stddef.h>
65#define LV_STDBOOL_INCLUDE <stdbool.h>
66#define LV_INTTYPES_INCLUDE <inttypes.h>
67#define LV_LIMITS_INCLUDE <limits.h>
68#define LV_STDARG_INCLUDE <stdarg.h>
69
70#if LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN
72#define LV_MEM_SIZE (22U * 1024U)
73
75#define LV_MEM_POOL_EXPAND_SIZE 0
76
78#define LV_MEM_ADR 0
79/* Instead of an address give a memory allocator that will be called to get a memory pool for LVGL. E.g. my_malloc */
80#if LV_MEM_ADR == 0
81#undef LV_MEM_POOL_INCLUDE
82#undef LV_MEM_POOL_ALLOC
83#endif
84#endif /*LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN*/
85
86/*====================
87 HAL SETTINGS
88 *====================*/
89
91#define LV_DEF_REFR_PERIOD 33
92
95#define LV_DPI_DEF 130
96
97/*=================
98 * OPERATING SYSTEM
99 *=================*/
110#define LV_USE_OS LV_OS_NONE
111
112#if LV_USE_OS == LV_OS_CUSTOM
113#define LV_OS_CUSTOM_INCLUDE <stdint.h>
114#endif
115#if LV_USE_OS == LV_OS_FREERTOS
116/*
117 * Unblocking an RTOS task with a direct notification is 45% faster and uses less RAM
118 * than unblocking a task using an intermediary object such as a binary semaphore.
119 * RTOS task notifications can only be used when there is only one task that can be the recipient of the event.
120 */
121#define LV_USE_FREERTOS_TASK_NOTIFY 1
122#endif
123
124/*========================
125 * RENDERING CONFIGURATION
126 *========================*/
127
129#define LV_DRAW_BUF_STRIDE_ALIGN 1
130
132#define LV_DRAW_BUF_ALIGN 4
133
138#define LV_DRAW_TRANSFORM_USE_MATRIX 0
139
140/* If a widget has `style_opa < 255` (not `bg_opa`, `text_opa` etc) or not NORMAL blend mode
141 * it is buffered into a "simple" layer before rendering. The widget can be buffered in smaller chunks.
142 * "Transformed layers" (if `transform_angle/zoom` are set) use larger buffers
143 * and can't be drawn in chunks. */
144
146#define LV_DRAW_LAYER_SIMPLE_BUF_SIZE (8 * 1024)
147
148/* Limit the max allocated memory for simple and transformed layers.
149 * It should be at least `LV_DRAW_LAYER_SIMPLE_BUF_SIZE` sized but if transformed layers are also used
150 * it should be enough to store the largest widget too (width x height x 4 area).
151 * Set it to 0 to have no limit. */
152#define LV_DRAW_LAYER_MAX_MEMORY 8 * 1024
153
157#define LV_DRAW_THREAD_STACK_SIZE (12 * 1024)
158
159#define LV_USE_DRAW_SW 1
160#if LV_USE_DRAW_SW == 1
161/*
162 * Selectively disable color format support in order to reduce code size.
163 * NOTE: some features use certain color formats internally, e.g.
164 * - gradients use RGB888
165 * - bitmaps with transparency may use ARGB8888
166 */
167#define LV_DRAW_SW_SUPPORT_RGB565 0
168#define LV_DRAW_SW_SUPPORT_RGB565A8 0
169#define LV_DRAW_SW_SUPPORT_RGB888 0
170#define LV_DRAW_SW_SUPPORT_XRGB8888 0
171#define LV_DRAW_SW_SUPPORT_ARGB8888 0
172#define LV_DRAW_SW_SUPPORT_L8 0
173#define LV_DRAW_SW_SUPPORT_AL88 0
174#define LV_DRAW_SW_SUPPORT_A8 0
175#define LV_DRAW_SW_SUPPORT_I1 1
176
177/* The threshold of the luminance to consider a pixel as
178 * active in indexed color format */
179#define LV_DRAW_SW_I1_LUM_THRESHOLD 127
180
184#define LV_DRAW_SW_DRAW_UNIT_CNT 1
185
187#define LV_USE_DRAW_ARM2D_SYNC 0
188
190#define LV_USE_NATIVE_HELIUM_ASM 0
191
195#define LV_DRAW_SW_COMPLEX 1
196
197#if LV_DRAW_SW_COMPLEX == 1
201#define LV_DRAW_SW_SHADOW_CACHE_SIZE 0
202
207#define LV_DRAW_SW_CIRCLE_CACHE_SIZE 2
208#endif
209
210#define LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_NONE
211
212#if LV_USE_DRAW_SW_ASM == LV_DRAW_SW_ASM_CUSTOM
213#define LV_DRAW_SW_ASM_CUSTOM_INCLUDE ""
214#endif
215
217#define LV_USE_DRAW_SW_COMPLEX_GRADIENTS 0
218
219#endif
220
221/*Use TSi's aka (Think Silicon) NemaGFX */
222#define LV_USE_NEMA_GFX 0
223
224#if LV_USE_NEMA_GFX
228#define LV_USE_NEMA_HAL LV_NEMA_HAL_CUSTOM
229#if LV_USE_NEMA_HAL == LV_NEMA_HAL_STM32
230#define LV_NEMA_STM32_HAL_INCLUDE <stm32u5xx_hal.h>
231#endif
232
233/*Enable Vector Graphics Operations. Available only if NemaVG library is present*/
234#define LV_USE_NEMA_VG 0
235#if LV_USE_NEMA_VG
236/*Define application's resolution used for VG related buffer allocation */
237#define LV_NEMA_GFX_MAX_RESX 800
238#define LV_NEMA_GFX_MAX_RESY 600
239#endif
240#endif
241
243#define LV_USE_DRAW_VGLITE 0
244
245#if LV_USE_DRAW_VGLITE
247#define LV_USE_VGLITE_BLIT_SPLIT 0
248
249#if LV_USE_OS
251#define LV_USE_VGLITE_DRAW_THREAD 1
252
253#if LV_USE_VGLITE_DRAW_THREAD
255#define LV_USE_VGLITE_DRAW_ASYNC 1
256#endif
257#endif
258
260#define LV_USE_VGLITE_ASSERT 0
261#endif
262
264#define LV_USE_PXP 0
265
266#if LV_USE_PXP
268#define LV_USE_DRAW_PXP 1
269
271#define LV_USE_ROTATE_PXP 0
272
273#if LV_USE_DRAW_PXP && LV_USE_OS
275#define LV_USE_PXP_DRAW_THREAD 1
276#endif
277
279#define LV_USE_PXP_ASSERT 0
280#endif
281
283#define LV_USE_DRAW_G2D 0
284
285#if LV_USE_DRAW_G2D
288#define LV_G2D_HASH_TABLE_SIZE 50
289
290#if LV_USE_OS
292#define LV_USE_G2D_DRAW_THREAD 1
293#endif
294
296#define LV_USE_G2D_ASSERT 0
297#endif
298
300#define LV_USE_DRAW_DAVE2D 0
301
303#define LV_USE_DRAW_SDL 0
304
306#define LV_USE_DRAW_VG_LITE 0
307
308#if LV_USE_DRAW_VG_LITE
310#define LV_VG_LITE_USE_GPU_INIT 0
311
313#define LV_VG_LITE_USE_ASSERT 0
314
316#define LV_VG_LITE_FLUSH_MAX_COUNT 8
317
321#define LV_VG_LITE_USE_BOX_SHADOW 0
322
325#define LV_VG_LITE_GRAD_CACHE_CNT 32
326
328#define LV_VG_LITE_STROKE_CACHE_CNT 32
329#endif
330
332#define LV_USE_DRAW_DMA2D 0
333
334#if LV_USE_DRAW_DMA2D
335#define LV_DRAW_DMA2D_HAL_INCLUDE "stm32h7xx_hal.h"
336
337/* if enabled, the user is required to call `lv_draw_dma2d_transfer_complete_interrupt_handler`
338 * upon receiving the DMA2D global interrupt
339 */
340#define LV_USE_DRAW_DMA2D_INTERRUPT 0
341#endif
342
344#define LV_USE_DRAW_OPENGLES 0
345
346/*=======================
347 * FEATURE CONFIGURATION
348 *=======================*/
349
350/*-------------
351 * Logging
352 *-----------*/
353
355#define LV_USE_LOG 0
356#if LV_USE_LOG
364#define LV_LOG_LEVEL LV_LOG_LEVEL_ERROR
365
368#define LV_LOG_PRINTF 1
369
373//#define LV_LOG_PRINT_CB
374
377#define LV_LOG_USE_TIMESTAMP 1
378
381#define LV_LOG_USE_FILE_LINE 1
382
383/* Enable/disable LV_LOG_TRACE in modules that produces a huge number of logs. */
384#define LV_LOG_TRACE_MEM 1
385#define LV_LOG_TRACE_TIMER 1
386#define LV_LOG_TRACE_INDEV 1
387#define LV_LOG_TRACE_DISP_REFR 1
388#define LV_LOG_TRACE_EVENT 1
389#define LV_LOG_TRACE_OBJ_CREATE 1
390#define LV_LOG_TRACE_LAYOUT 1
391#define LV_LOG_TRACE_ANIM 1
392#define LV_LOG_TRACE_CACHE 1
393#endif /*LV_USE_LOG*/
394
395/*-------------
396 * Asserts
397 *-----------*/
398
399/* Enable assertion failures if an operation fails or invalid data is found.
400 * If LV_USE_LOG is enabled, an error message will be printed on failure. */
401#define LV_USE_ASSERT_NULL 0
402#define LV_USE_ASSERT_MALLOC 0
403#define LV_USE_ASSERT_STYLE 0
404#define LV_USE_ASSERT_MEM_INTEGRITY 0
405#define LV_USE_ASSERT_OBJ 0
406
408#define LV_ASSERT_HANDLER_INCLUDE <stdint.h>
409#define LV_ASSERT_HANDLER while(1);
410
411/*-------------
412 * Debug
413 *-----------*/
414
416#define LV_USE_REFR_DEBUG 0
417
419#define LV_USE_LAYER_DEBUG 0
420
425#define LV_USE_PARALLEL_DRAW_DEBUG 0
426
427/*-------------
428 * Others
429 *-----------*/
430
431#define LV_ENABLE_GLOBAL_CUSTOM 0
432#if LV_ENABLE_GLOBAL_CUSTOM
434#define LV_GLOBAL_CUSTOM_INCLUDE <stdint.h>
435#endif
436
442#define LV_CACHE_DEF_SIZE 0
443
446#define LV_IMAGE_HEADER_CACHE_DEF_CNT 0
447
450#define LV_GRADIENT_MAX_STOPS 2
451
458#define LV_COLOR_MIX_ROUND_OFS 0
459
461#define LV_OBJ_STYLE_CACHE 0
462
464#define LV_USE_OBJ_ID 0
465
467#define LV_USE_OBJ_NAME 0
468
470#define LV_OBJ_ID_AUTO_ASSIGN LV_USE_OBJ_ID
471
478#define LV_USE_OBJ_ID_BUILTIN 1
479
481#define LV_USE_OBJ_PROPERTY 0
482
484#define LV_USE_OBJ_PROPERTY_NAME 1
485
486/* Use VG-Lite Simulator.
487 * - Requires: LV_USE_THORVG_INTERNAL or LV_USE_THORVG_EXTERNAL */
488#define LV_USE_VG_LITE_THORVG 0
489
490#if LV_USE_VG_LITE_THORVG
492#define LV_VG_LITE_THORVG_LVGL_BLEND_SUPPORT 0
493
495#define LV_VG_LITE_THORVG_YUV_SUPPORT 0
496
498#define LV_VG_LITE_THORVG_LINEAR_GRADIENT_EXT_SUPPORT 0
499
501#define LV_VG_LITE_THORVG_16PIXELS_ALIGN 1
502
504#define LV_VG_LITE_THORVG_BUF_ADDR_ALIGN 64
505
507#define LV_VG_LITE_THORVG_THREAD_RENDER 0
508#endif
509
510/* Enable the multi-touch gesture recognition feature */
511/* Gesture recognition requires the use of floats */
512#define LV_USE_GESTURE_RECOGNITION 0
513
514/*=====================
515 * COMPILER SETTINGS
516 *====================*/
517
519#define LV_BIG_ENDIAN_SYSTEM 0
520
522#define LV_ATTRIBUTE_TICK_INC
523
525#define LV_ATTRIBUTE_TIMER_HANDLER
526
528#define LV_ATTRIBUTE_FLUSH_READY
529
532#define LV_ATTRIBUTE_MEM_ALIGN_SIZE 1
533
536#define LV_ATTRIBUTE_MEM_ALIGN
537
539#define LV_ATTRIBUTE_LARGE_CONST
540
542#define LV_ATTRIBUTE_LARGE_RAM_ARRAY
543
545#define LV_ATTRIBUTE_FAST_MEM
546
549#define LV_EXPORT_CONST_INT(int_value) struct _silence_gcc_warning
550
552#define LV_ATTRIBUTE_EXTERN_DATA
553
555#define LV_USE_FLOAT 0
556
559#define LV_USE_MATRIX 0
560
562#define LV_USE_PRIVATE_API 0
563
564/*==================
565 * FONT USAGE
566 *===================*/
567
568/* Montserrat fonts with ASCII range and some symbols using bpp = 4
569 * https://fonts.google.com/specimen/Montserrat */
570#define LV_FONT_MONTSERRAT_8 0
571#define LV_FONT_MONTSERRAT_10 0
572#define LV_FONT_MONTSERRAT_12 0
573#define LV_FONT_MONTSERRAT_14 1
574#define LV_FONT_MONTSERRAT_16 0
575#define LV_FONT_MONTSERRAT_18 0
576#define LV_FONT_MONTSERRAT_20 0
577#define LV_FONT_MONTSERRAT_22 0
578#define LV_FONT_MONTSERRAT_24 0
579#define LV_FONT_MONTSERRAT_26 0
580#define LV_FONT_MONTSERRAT_28 0
581#define LV_FONT_MONTSERRAT_30 0
582#define LV_FONT_MONTSERRAT_32 0
583#define LV_FONT_MONTSERRAT_34 0
584#define LV_FONT_MONTSERRAT_36 0
585#define LV_FONT_MONTSERRAT_38 0
586#define LV_FONT_MONTSERRAT_40 0
587#define LV_FONT_MONTSERRAT_42 0
588#define LV_FONT_MONTSERRAT_44 0
589#define LV_FONT_MONTSERRAT_46 0
590#define LV_FONT_MONTSERRAT_48 0
591
592/* Demonstrate special features */
593#define LV_FONT_MONTSERRAT_28_COMPRESSED 0
594#define LV_FONT_DEJAVU_16_PERSIAN_HEBREW 0
595#define LV_FONT_SIMSUN_14_CJK 0
596#define LV_FONT_SIMSUN_16_CJK 0
597
599#define LV_FONT_UNSCII_8 0
600#define LV_FONT_UNSCII_16 0
601
611#define LV_FONT_CUSTOM_DECLARE
612
614#define LV_FONT_DEFAULT &lv_font_montserrat_14
615
619#define LV_FONT_FMT_TXT_LARGE 0
620
622#define LV_USE_FONT_COMPRESSED 0
623
625#define LV_USE_FONT_PLACEHOLDER 1
626
627/*=================
628 * TEXT SETTINGS
629 *=================*/
630
637#define LV_TXT_ENC LV_TXT_ENC_UTF8
638
640#define LV_TXT_BREAK_CHARS " ,.;:-_)]}"
641
644#define LV_TXT_LINE_BREAK_LONG_LEN 0
645
648#define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN 3
649
652#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 3
653
657#define LV_USE_BIDI 0
658#if LV_USE_BIDI
659/*Set the default direction. Supported values:
660*`LV_BASE_DIR_LTR` Left-to-Right
661*`LV_BASE_DIR_RTL` Right-to-Left
662*`LV_BASE_DIR_AUTO` detect text base direction*/
663#define LV_BIDI_BASE_DIR_DEF LV_BASE_DIR_AUTO
664#endif
665
668#define LV_USE_ARABIC_PERSIAN_CHARS 0
669
670/*The control character to use for signaling text recoloring*/
671#define LV_TXT_COLOR_CMD "#"
672
673/*==================
674 * WIDGETS
675 *================*/
676/* Documentation for widgets can be found here: https://docs.lvgl.io/master/details/widgets/index.html . */
677
685#define LV_WIDGETS_HAS_DEFAULT_VALUE 0
686
687#define LV_USE_ANIMIMG 1
688
689#define LV_USE_ARC 0
690
691#define LV_USE_BAR 0
692
693#define LV_USE_BUTTON 0
694
695#define LV_USE_BUTTONMATRIX 0
696
697#define LV_USE_CALENDAR 0
698#if LV_USE_CALENDAR
699#define LV_CALENDAR_WEEK_STARTS_MONDAY 0
700#if LV_CALENDAR_WEEK_STARTS_MONDAY
701#define LV_CALENDAR_DEFAULT_DAY_NAMES {"Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"}
702#else
703#define LV_CALENDAR_DEFAULT_DAY_NAMES {"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"}
704#endif
705
706#define LV_CALENDAR_DEFAULT_MONTH_NAMES {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}
707#define LV_USE_CALENDAR_HEADER_ARROW 1
708#define LV_USE_CALENDAR_HEADER_DROPDOWN 1
709#define LV_USE_CALENDAR_CHINESE 0
710#endif /*LV_USE_CALENDAR*/
711
712#define LV_USE_CANVAS 0
713
714#define LV_USE_CHART 0
715
716#define LV_USE_CHECKBOX 0
717
718#define LV_USE_DROPDOWN 0
719
720#define LV_USE_IMAGE 1
721
722#define LV_USE_IMAGEBUTTON 0
723
724#define LV_USE_KEYBOARD 0
725
726#define LV_USE_LABEL 1
727#if LV_USE_LABEL
728#define LV_LABEL_TEXT_SELECTION 1
729#define LV_LABEL_LONG_TXT_HINT 0
730#define LV_LABEL_WAIT_CHAR_COUNT 3
731#endif
732
733#define LV_USE_LED 0
734
735#define LV_USE_LINE 0
736
737#define LV_USE_LIST 0
738
739#define LV_USE_LOTTIE 0
740
741#define LV_USE_MENU 0
742
743#define LV_USE_MSGBOX 0
744
745#define LV_USE_ROLLER 0
746
747#define LV_USE_SCALE 0
748
749#define LV_USE_SLIDER 0
750
751#define LV_USE_SPAN 0
752#if LV_USE_SPAN
754#define LV_SPAN_SNIPPET_STACK_SIZE 64
755#endif
756
757#define LV_USE_SPINBOX 0
758
759#define LV_USE_SPINNER 0
760
761#define LV_USE_SWITCH 0
762
763#define LV_USE_TABLE 0
764
765#define LV_USE_TABVIEW 0
766
767#define LV_USE_TEXTAREA 0
768#if LV_USE_TEXTAREA != 0
769#define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500
770#endif
771
772#define LV_USE_TILEVIEW 0
773
774#define LV_USE_WIN 0
775
776/*==================
777 * THEMES
778 *==================*/
779/* Documentation for themes can be found here: https://docs.lvgl.io/master/details/common-widget-features/styles/style.html#themes . */
780
782#define LV_USE_THEME_DEFAULT 1
783#if LV_USE_THEME_DEFAULT
785#define LV_THEME_DEFAULT_DARK 0
786
788#define LV_THEME_DEFAULT_GROW 1
789
791#define LV_THEME_DEFAULT_TRANSITION_TIME 80
792#endif /*LV_USE_THEME_DEFAULT*/
793
795#define LV_USE_THEME_SIMPLE 1
796
798#define LV_USE_THEME_MONO 1
799
800/*==================
801 * LAYOUTS
802 *==================*/
803/* Documentation for layouts can be found here: https://docs.lvgl.io/master/details/common-widget-features/layouts/index.html . */
804
806#define LV_USE_FLEX 1
807
809#define LV_USE_GRID 1
810
811/*====================
812 * 3RD PARTS LIBRARIES
813 *====================*/
814/* Documentation for libraries can be found here: https://docs.lvgl.io/master/details/libs/index.html . */
815
816/* File system interfaces for common APIs */
817
821#define LV_FS_DEFAULT_DRIVER_LETTER '\0'
822
824#define LV_USE_FS_STDIO 0
825#if LV_USE_FS_STDIO
826#define LV_FS_STDIO_LETTER '\0'
827#define LV_FS_STDIO_PATH ""
828#define LV_FS_STDIO_CACHE_SIZE 0
829#endif
830
832#define LV_USE_FS_POSIX 0
833#if LV_USE_FS_POSIX
834#define LV_FS_POSIX_LETTER '\0'
835#define LV_FS_POSIX_PATH ""
836#define LV_FS_POSIX_CACHE_SIZE 0
837#endif
838
840#define LV_USE_FS_WIN32 0
841#if LV_USE_FS_WIN32
842#define LV_FS_WIN32_LETTER '\0'
843#define LV_FS_WIN32_PATH ""
844#define LV_FS_WIN32_CACHE_SIZE 0
845#endif
846
848#define LV_USE_FS_FATFS 0
849#if LV_USE_FS_FATFS
850#define LV_FS_FATFS_LETTER '\0'
851#define LV_FS_FATFS_PATH ""
852#define LV_FS_FATFS_CACHE_SIZE 0
853#endif
854
856#define LV_USE_FS_MEMFS 0
857#if LV_USE_FS_MEMFS
858#define LV_FS_MEMFS_LETTER '\0'
859#endif
860
862#define LV_USE_FS_LITTLEFS 0
863#if LV_USE_FS_LITTLEFS
864#define LV_FS_LITTLEFS_LETTER '\0'
865#define LV_FS_LITTLEFS_PATH ""
866#endif
867
869#define LV_USE_FS_ARDUINO_ESP_LITTLEFS 0
870#if LV_USE_FS_ARDUINO_ESP_LITTLEFS
871#define LV_FS_ARDUINO_ESP_LITTLEFS_LETTER '\0'
872#define LV_FS_ARDUINO_ESP_LITTLEFS_PATH ""
873#endif
874
876#define LV_USE_FS_ARDUINO_SD 0
877#if LV_USE_FS_ARDUINO_SD
878#define LV_FS_ARDUINO_SD_LETTER '\0'
879#define LV_FS_ARDUINO_SD_PATH ""
880#endif
881
883#define LV_USE_FS_UEFI 0
884#if LV_USE_FS_UEFI
885#define LV_FS_UEFI_LETTER '\0'
886#endif
887
889#define LV_USE_LODEPNG 0
890
892#define LV_USE_LIBPNG 0
893
895#define LV_USE_BMP 0
896
899#define LV_USE_TJPGD 0
900
903#define LV_USE_LIBJPEG_TURBO 0
904
906#define LV_USE_GIF 0
907#if LV_USE_GIF
909#define LV_GIF_CACHE_DECODE_DATA 0
910#endif
911
912
914#define LV_BIN_DECODER_RAM_LOAD 0
915
917#define LV_USE_RLE 0
918
920#define LV_USE_QRCODE 0
921
923#define LV_USE_BARCODE 0
924
926#define LV_USE_FREETYPE 0
927#if LV_USE_FREETYPE
929#define LV_FREETYPE_USE_LVGL_PORT 0
930
933#define LV_FREETYPE_CACHE_FT_GLYPH_CNT 256
934#endif
935
937#define LV_USE_TINY_TTF 0
938#if LV_USE_TINY_TTF
939/* Enable loading TTF data from files */
940#define LV_TINY_TTF_FILE_SUPPORT 0
941#define LV_TINY_TTF_CACHE_GLYPH_CNT 256
942#endif
943
945#define LV_USE_RLOTTIE 0
946
949#define LV_USE_VECTOR_GRAPHIC 0
950
952#define LV_USE_THORVG_INTERNAL 0
953
955#define LV_USE_THORVG_EXTERNAL 0
956
958#define LV_USE_LZ4_INTERNAL 0
959
961#define LV_USE_LZ4_EXTERNAL 0
962
963/*SVG library
964 * - Requires `LV_USE_VECTOR_GRAPHIC = 1` */
965#define LV_USE_SVG 0
966#define LV_USE_SVG_ANIMATION 0
967#define LV_USE_SVG_DEBUG 0
968
971#define LV_USE_FFMPEG 0
972#if LV_USE_FFMPEG
974#define LV_FFMPEG_DUMP_FORMAT 0
978#define LV_FFMPEG_PLAYER_USE_LV_FS 0
979#endif
980
981/*==================
982 * OTHERS
983 *==================*/
984/* Documentation for several of the below items can be found here: https://docs.lvgl.io/master/details/auxiliary-modules/index.html . */
985
987#define LV_USE_SNAPSHOT 0
988
990#define LV_USE_SYSMON 0
991#if LV_USE_SYSMON
993#define LV_SYSMON_GET_IDLE lv_os_get_idle_percent
994
997#define LV_USE_PERF_MONITOR 0
998#if LV_USE_PERF_MONITOR
999#define LV_USE_PERF_MONITOR_POS LV_ALIGN_BOTTOM_RIGHT
1000
1002#define LV_USE_PERF_MONITOR_LOG_MODE 0
1003#endif
1004
1008#define LV_USE_MEM_MONITOR 0
1009#if LV_USE_MEM_MONITOR
1010#define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT
1011#endif
1012#endif /*LV_USE_SYSMON*/
1013
1015#define LV_USE_PROFILER 0
1016#if LV_USE_PROFILER
1018#define LV_USE_PROFILER_BUILTIN 1
1019#if LV_USE_PROFILER_BUILTIN
1021#define LV_PROFILER_BUILTIN_BUF_SIZE (16 * 1024)
1022#endif
1023
1025#define LV_PROFILER_INCLUDE "lvgl/src/misc/lv_profiler_builtin.h"
1026
1028#define LV_PROFILER_BEGIN LV_PROFILER_BUILTIN_BEGIN
1029
1031#define LV_PROFILER_END LV_PROFILER_BUILTIN_END
1032
1034#define LV_PROFILER_BEGIN_TAG LV_PROFILER_BUILTIN_BEGIN_TAG
1035
1037#define LV_PROFILER_END_TAG LV_PROFILER_BUILTIN_END_TAG
1038
1039/*Enable layout profiler*/
1040#define LV_PROFILER_LAYOUT 1
1041
1042/*Enable disp refr profiler*/
1043#define LV_PROFILER_REFR 1
1044
1045/*Enable draw profiler*/
1046#define LV_PROFILER_DRAW 1
1047
1048/*Enable indev profiler*/
1049#define LV_PROFILER_INDEV 1
1050
1051/*Enable decoder profiler*/
1052#define LV_PROFILER_DECODER 1
1053
1054/*Enable font profiler*/
1055#define LV_PROFILER_FONT 1
1056
1057/*Enable fs profiler*/
1058#define LV_PROFILER_FS 1
1059
1060/*Enable style profiler*/
1061#define LV_PROFILER_STYLE 0
1062
1063/*Enable timer profiler*/
1064#define LV_PROFILER_TIMER 1
1065
1066/*Enable cache profiler*/
1067#define LV_PROFILER_CACHE 1
1068
1069/*Enable event profiler*/
1070#define LV_PROFILER_EVENT 1
1071#endif
1072
1074#define LV_USE_MONKEY 0
1075
1077#define LV_USE_GRIDNAV 0
1078
1080#define LV_USE_FRAGMENT 0
1081
1083#define LV_USE_IMGFONT 0
1084
1086#define LV_USE_OBSERVER 1
1087
1090#define LV_USE_IME_PINYIN 0
1091#if LV_USE_IME_PINYIN
1094#define LV_IME_PINYIN_USE_DEFAULT_DICT 1
1097#define LV_IME_PINYIN_CAND_TEXT_NUM 6
1098
1100#define LV_IME_PINYIN_USE_K9_MODE 1
1101#if LV_IME_PINYIN_USE_K9_MODE == 1
1102#define LV_IME_PINYIN_K9_CAND_TEXT_NUM 3
1103#endif /*LV_IME_PINYIN_USE_K9_MODE*/
1104#endif
1105
1108#define LV_USE_FILE_EXPLORER 0
1109#if LV_USE_FILE_EXPLORER
1111#define LV_FILE_EXPLORER_PATH_MAX_LEN (128)
1114#define LV_FILE_EXPLORER_QUICK_ACCESS 1
1115#endif
1116
1119#define LV_USE_FONT_MANAGER 0
1120#if LV_USE_FONT_MANAGER
1121
1123#define LV_FONT_MANAGER_NAME_MAX_LEN 32
1124
1125#endif
1126
1128#define LV_USE_TEST 0
1129#if LV_USE_TEST
1130
1133#define LV_USE_TEST_SCREENSHOT_COMPARE 0
1134#endif /*LV_USE_TEST*/
1135
1137#define LV_USE_XML 0
1138
1139/*1: Enable color filter style*/
1140#define LV_USE_COLOR_FILTER 0
1141/*==================
1142 * DEVICES
1143 *==================*/
1144
1146#define LV_USE_SDL 0
1147#if LV_USE_SDL
1148#define LV_SDL_INCLUDE_PATH <SDL2/SDL.h>
1149#define LV_SDL_RENDER_MODE LV_DISPLAY_RENDER_MODE_DIRECT
1150#define LV_SDL_BUF_COUNT 1
1151#define LV_SDL_ACCELERATED 1
1152#define LV_SDL_FULLSCREEN 0
1153#define LV_SDL_DIRECT_EXIT 1
1154#define LV_SDL_MOUSEWHEEL_MODE LV_SDL_MOUSEWHEEL_MODE_ENCODER /*LV_SDL_MOUSEWHEEL_MODE_ENCODER/CROWN*/
1155#endif
1156
1158#define LV_USE_X11 0
1159#if LV_USE_X11
1160#define LV_X11_DIRECT_EXIT 1
1161#define LV_X11_DOUBLE_BUFFER 1
1162/* Select only 1 of the following render modes (LV_X11_RENDER_MODE_PARTIAL preferred!). */
1163#define LV_X11_RENDER_MODE_PARTIAL 1
1164#define LV_X11_RENDER_MODE_DIRECT 0
1165#define LV_X11_RENDER_MODE_FULL 0
1166#endif
1167
1169#define LV_USE_WAYLAND 0
1170#if LV_USE_WAYLAND
1171#define LV_WAYLAND_WINDOW_DECORATIONS 0
1172#define LV_WAYLAND_WL_SHELL 0
1173#endif
1174
1176#define LV_USE_LINUX_FBDEV 0
1177#if LV_USE_LINUX_FBDEV
1178#define LV_LINUX_FBDEV_BSD 0
1179#define LV_LINUX_FBDEV_RENDER_MODE LV_DISPLAY_RENDER_MODE_PARTIAL
1180#define LV_LINUX_FBDEV_BUFFER_COUNT 0
1181#define LV_LINUX_FBDEV_BUFFER_SIZE 60
1182#endif
1183
1185#define LV_USE_NUTTX 0
1186
1187#if LV_USE_NUTTX
1188#define LV_USE_NUTTX_INDEPENDENT_IMAGE_HEAP 0
1189
1191#define LV_NUTTX_DEFAULT_DRAW_BUF_USE_INDEPENDENT_IMAGE_HEAP 0
1192
1193#define LV_USE_NUTTX_LIBUV 0
1194
1196#define LV_USE_NUTTX_CUSTOM_INIT 0
1197
1199#define LV_USE_NUTTX_LCD 0
1200#if LV_USE_NUTTX_LCD
1201#define LV_NUTTX_LCD_BUFFER_COUNT 0
1202#define LV_NUTTX_LCD_BUFFER_SIZE 60
1203#endif
1204
1206#define LV_USE_NUTTX_TOUCHSCREEN 0
1207
1208/*Touchscreen cursor size in pixels(<=0: disable cursor)*/
1209#define LV_NUTTX_TOUCHSCREEN_CURSOR_SIZE 0
1210#endif
1211
1213#define LV_USE_LINUX_DRM 0
1214
1215#if LV_USE_LINUX_DRM
1216
1217/* Use the MESA GBM library to allocate DMA buffers that can be
1218 * shared across sub-systems and libraries using the Linux DMA-BUF API.
1219 * The GBM library aims to provide a platform independent memory management system
1220 * it supports the major GPU vendors - This option requires linking with libgbm */
1221#define LV_LINUX_DRM_GBM_BUFFERS 0
1222#endif
1223
1225#define LV_USE_TFT_ESPI 0
1226
1228#define LV_USE_EVDEV 0
1229
1231#define LV_USE_LIBINPUT 0
1232
1233#if LV_USE_LIBINPUT
1234#define LV_LIBINPUT_BSD 0
1235
1237#define LV_LIBINPUT_XKB 0
1238#if LV_LIBINPUT_XKB
1240#define LV_LIBINPUT_XKB_KEY_MAP { .rules = NULL, .model = "pc101", .layout = "us", .variant = NULL, .options = NULL }
1241#endif
1242#endif
1243
1244/* Drivers for LCD devices connected via SPI/parallel port */
1245#define LV_USE_ST7735 0
1246#define LV_USE_ST7789 0
1247#define LV_USE_ST7796 0
1248#define LV_USE_ILI9341 0
1249
1250#define LV_USE_GENERIC_MIPI (LV_USE_ST7735 | LV_USE_ST7789 | LV_USE_ST7796 | LV_USE_ILI9341)
1251
1253#define LV_USE_RENESAS_GLCDC 0
1254
1256#define LV_USE_ST_LTDC 0
1257#if LV_USE_ST_LTDC
1258/* Only used for partial. */
1259#define LV_ST_LTDC_USE_DMA2D_FLUSH 0
1260#endif
1261
1263#define LV_USE_WINDOWS 0
1264
1266#define LV_USE_UEFI 0
1267#if LV_USE_UEFI
1268#define LV_USE_UEFI_INCLUDE "myefi.h"
1269#define LV_UEFI_USE_MEMORY_SERVICES 0
1270#endif
1271
1273#define LV_USE_OPENGLES 0
1274#if LV_USE_OPENGLES
1275#define LV_USE_OPENGLES_DEBUG 1
1276#endif
1277
1279#define LV_USE_QNX 0
1280#if LV_USE_QNX
1281#define LV_QNX_BUF_COUNT 1
1282#endif
1283
1284/*==================
1285* EXAMPLES
1286*==================*/
1287
1289#define LV_BUILD_EXAMPLES 1
1290
1291/*===================
1292 * DEMO USAGE
1293 ====================*/
1294
1296#define LV_USE_DEMO_WIDGETS 0
1297
1299#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
1300
1302#define LV_USE_DEMO_BENCHMARK 0
1303
1306#define LV_USE_DEMO_RENDER 0
1307
1309#define LV_USE_DEMO_STRESS 0
1310
1312#define LV_USE_DEMO_MUSIC 0
1313#if LV_USE_DEMO_MUSIC
1314#define LV_DEMO_MUSIC_SQUARE 0
1315#define LV_DEMO_MUSIC_LANDSCAPE 0
1316#define LV_DEMO_MUSIC_ROUND 0
1317#define LV_DEMO_MUSIC_LARGE 0
1318#define LV_DEMO_MUSIC_AUTO_PLAY 0
1319#endif
1320
1322#define LV_USE_DEMO_FLEX_LAYOUT 0
1323
1325#define LV_USE_DEMO_MULTILANG 0
1326
1328#define LV_USE_DEMO_TRANSFORM 0
1329
1331#define LV_USE_DEMO_SCROLL 0
1332
1334#define LV_USE_DEMO_VECTOR_GRAPHIC 0
1335
1336/*E-bike demo with Lottie animations (if LV_USE_LOTTIE is enabled)*/
1337#define LV_USE_DEMO_EBIKE 0
1338#if LV_USE_DEMO_EBIKE
1339#define LV_DEMO_EBIKE_PORTRAIT 0 /*0: for 480x270..480x320, 1: for 480x800..720x1280*/
1340#endif
1341
1343#define LV_USE_DEMO_HIGH_RES 0
1344
1345/* Smart watch demo */
1346#define LV_USE_DEMO_SMARTWATCH 0
1347
1348/*--END OF LV_CONF_H--*/
1349
1350#endif /*LV_CONF_H*/
1351
1352#endif /*End of "Content enable"*/