Kestrel Interface
Loading...
Searching...
No Matches
lv_conf.h File Reference

Go to the source code of this file.

Macros

#define LV_COLOR_DEPTH   32
#define LV_USE_STDLIB_MALLOC   LV_STDLIB_BUILTIN
#define LV_USE_STDLIB_STRING   LV_STDLIB_BUILTIN
#define LV_USE_STDLIB_SPRINTF   LV_STDLIB_BUILTIN
#define LV_STDINT_INCLUDE   <stdint.h>
#define LV_STDDEF_INCLUDE   <stddef.h>
#define LV_STDBOOL_INCLUDE   <stdbool.h>
#define LV_INTTYPES_INCLUDE   <inttypes.h>
#define LV_LIMITS_INCLUDE   <limits.h>
#define LV_STDARG_INCLUDE   <stdarg.h>
#define LV_MEM_SIZE   (512 * 1024U)
#define LV_MEM_POOL_EXPAND_SIZE   0
#define LV_MEM_ADR   0
#define LV_DEF_REFR_PERIOD   33
#define LV_DPI_DEF   130
#define LV_USE_OS   LV_OS_FREERTOS
#define LV_OS_CUSTOM_INCLUDE   <stdint.h>
#define LV_USE_FREERTOS_TASK_NOTIFY   1
#define LV_OS_IDLE_PERCENT_CUSTOM   0
#define LV_DRAW_BUF_STRIDE_ALIGN   1
#define LV_DRAW_BUF_ALIGN   4
#define LV_DRAW_TRANSFORM_USE_MATRIX   0
#define LV_DRAW_LAYER_SIMPLE_BUF_SIZE   (24 * 1024)
#define LV_DRAW_LAYER_MAX_MEMORY   0
#define LV_DRAW_THREAD_STACK_SIZE   (8 * 1024)
#define LV_DRAW_THREAD_PRIO   LV_THREAD_PRIO_HIGH
#define LV_USE_DRAW_SW   1
#define LV_DRAW_SW_SUPPORT_RGB565   1
#define LV_DRAW_SW_SUPPORT_RGB565_SWAPPED   1
#define LV_DRAW_SW_SUPPORT_RGB565A8   1
#define LV_DRAW_SW_SUPPORT_RGB888   1
#define LV_DRAW_SW_SUPPORT_XRGB8888   1
#define LV_DRAW_SW_SUPPORT_ARGB8888   1
#define LV_DRAW_SW_SUPPORT_ARGB8888_PREMULTIPLIED   1
#define LV_DRAW_SW_SUPPORT_L8   1
#define LV_DRAW_SW_SUPPORT_AL88   1
#define LV_DRAW_SW_SUPPORT_A8   1
#define LV_DRAW_SW_SUPPORT_I1   1
#define LV_DRAW_SW_I1_LUM_THRESHOLD   127
#define LV_DRAW_SW_DRAW_UNIT_CNT   1
#define LV_USE_DRAW_ARM2D_SYNC   0
#define LV_USE_NATIVE_HELIUM_ASM   0
#define LV_DRAW_SW_COMPLEX   1
#define LV_DRAW_SW_SHADOW_CACHE_SIZE   0
#define LV_DRAW_SW_CIRCLE_CACHE_SIZE   4
#define LV_USE_DRAW_SW_ASM   LV_DRAW_SW_ASM_NONE
#define LV_DRAW_SW_ASM_CUSTOM_INCLUDE   ""
#define LV_USE_DRAW_SW_COMPLEX_GRADIENTS   0
#define LV_USE_NEMA_GFX   0
#define LV_USE_PXP   0
#define LV_USE_G2D   0
#define LV_USE_DRAW_DAVE2D   0
#define LV_USE_DRAW_SDL   0
#define LV_USE_DRAW_VG_LITE   0
#define LV_USE_DRAW_DMA2D   0
#define LV_USE_DRAW_OPENGLES   0
#define LV_USE_PPA   0
#define LV_USE_DRAW_EVE   0
#define LV_USE_DRAW_NANOVG   0
#define LV_USE_LOG   0
#define LV_USE_ASSERT_NULL   1
#define LV_USE_ASSERT_MALLOC   1
#define LV_USE_ASSERT_STYLE   0
#define LV_USE_ASSERT_MEM_INTEGRITY   0
#define LV_USE_ASSERT_OBJ   0
#define LV_ASSERT_HANDLER_INCLUDE   <stdint.h>
#define LV_ASSERT_HANDLER   while(1);
#define LV_USE_REFR_DEBUG   0
#define LV_USE_LAYER_DEBUG   0
#define LV_USE_PARALLEL_DRAW_DEBUG   0
#define LV_ENABLE_GLOBAL_CUSTOM   0
#define LV_CACHE_DEF_SIZE   0
#define LV_IMAGE_HEADER_CACHE_DEF_CNT   0
#define LV_GRADIENT_MAX_STOPS   2
#define LV_COLOR_MIX_ROUND_OFS   0
#define LV_OBJ_STYLE_CACHE   0
#define LV_USE_OBJ_ID   0
#define LV_USE_OBJ_NAME   0
#define LV_OBJ_ID_AUTO_ASSIGN   LV_USE_OBJ_ID
#define LV_USE_OBJ_ID_BUILTIN   1
#define LV_USE_OBJ_PROPERTY   0
#define LV_USE_OBJ_PROPERTY_NAME   1
#define LV_USE_GESTURE_RECOGNITION   0
#define LV_BIG_ENDIAN_SYSTEM   0
#define LV_ATTRIBUTE_TICK_INC
#define LV_ATTRIBUTE_TIMER_HANDLER
#define LV_ATTRIBUTE_FLUSH_READY
#define LV_ATTRIBUTE_MEM_ALIGN_SIZE   1
#define LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_LARGE_CONST
#define LV_ATTRIBUTE_LARGE_RAM_ARRAY
#define LV_ATTRIBUTE_FAST_MEM
#define LV_EXPORT_CONST_INT(int_value)
#define LV_ATTRIBUTE_EXTERN_DATA
#define LV_USE_FLOAT   0
#define LV_USE_MATRIX   0
#define LV_USE_PRIVATE_API   0
#define LV_FONT_MONTSERRAT_8   0
#define LV_FONT_MONTSERRAT_10   0
#define LV_FONT_MONTSERRAT_12   0
#define LV_FONT_MONTSERRAT_14   1
#define LV_FONT_MONTSERRAT_16   0
#define LV_FONT_MONTSERRAT_18   0
#define LV_FONT_MONTSERRAT_20   0
#define LV_FONT_MONTSERRAT_22   0
#define LV_FONT_MONTSERRAT_24   0
#define LV_FONT_MONTSERRAT_26   0
#define LV_FONT_MONTSERRAT_28   1
#define LV_FONT_MONTSERRAT_30   0
#define LV_FONT_MONTSERRAT_32   0
#define LV_FONT_MONTSERRAT_34   0
#define LV_FONT_MONTSERRAT_36   0
#define LV_FONT_MONTSERRAT_38   0
#define LV_FONT_MONTSERRAT_40   0
#define LV_FONT_MONTSERRAT_42   0
#define LV_FONT_MONTSERRAT_44   0
#define LV_FONT_MONTSERRAT_46   0
#define LV_FONT_MONTSERRAT_48   0
#define LV_FONT_MONTSERRAT_28_COMPRESSED   0
#define LV_FONT_DEJAVU_16_PERSIAN_HEBREW   0
#define LV_FONT_SOURCE_HAN_SANS_SC_14_CJK   0
#define LV_FONT_SOURCE_HAN_SANS_SC_16_CJK   0
#define LV_FONT_UNSCII_8   0
#define LV_FONT_UNSCII_16   0
#define LV_FONT_CUSTOM_DECLARE
#define LV_FONT_DEFAULT   &lv_font_montserrat_14
#define LV_FONT_FMT_TXT_LARGE   0
#define LV_USE_FONT_COMPRESSED   0
#define LV_USE_FONT_PLACEHOLDER   1
#define LV_TXT_ENC   LV_TXT_ENC_UTF8
#define LV_TXT_BREAK_CHARS   " ,.;:-_)]}"
#define LV_TXT_LINE_BREAK_LONG_LEN   0
#define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN   3
#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN   3
#define LV_USE_BIDI   0
#define LV_USE_ARABIC_PERSIAN_CHARS   0
#define LV_TXT_COLOR_CMD   "#"
#define LV_WIDGETS_HAS_DEFAULT_VALUE   1
#define LV_USE_ANIMIMG   1
#define LV_USE_ARC   1
#define LV_USE_ARCLABEL   1
#define LV_USE_BAR   1
#define LV_USE_BUTTON   1
#define LV_USE_BUTTONMATRIX   1
#define LV_USE_CALENDAR   1
#define LV_CALENDAR_WEEK_STARTS_MONDAY   0
#define LV_CALENDAR_DEFAULT_DAY_NAMES   {"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"}
#define LV_CALENDAR_DEFAULT_MONTH_NAMES   {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}
#define LV_USE_CALENDAR_HEADER_ARROW   1
#define LV_USE_CALENDAR_HEADER_DROPDOWN   1
#define LV_USE_CALENDAR_CHINESE   0
#define LV_USE_CANVAS   1
#define LV_USE_CHART   1
#define LV_USE_CHECKBOX   1
#define LV_USE_DROPDOWN   1
#define LV_USE_IMAGE   1
#define LV_USE_IMAGEBUTTON   1
#define LV_USE_KEYBOARD   1
#define LV_USE_LABEL   1
#define LV_LABEL_TEXT_SELECTION   1
#define LV_LABEL_LONG_TXT_HINT   1
#define LV_LABEL_WAIT_CHAR_COUNT   3
#define LV_USE_LED   1
#define LV_USE_LINE   1
#define LV_USE_LIST   1
#define LV_USE_LOTTIE   0
#define LV_USE_MENU   1
#define LV_USE_MSGBOX   1
#define LV_USE_ROLLER   1
#define LV_USE_SCALE   1
#define LV_USE_SLIDER   1
#define LV_USE_SPAN   1
#define LV_SPAN_SNIPPET_STACK_SIZE   64
#define LV_USE_SPINBOX   1
#define LV_USE_SPINNER   1
#define LV_USE_SWITCH   1
#define LV_USE_TABLE   1
#define LV_USE_TABVIEW   1
#define LV_USE_TEXTAREA   1
#define LV_TEXTAREA_DEF_PWD_SHOW_TIME   1500
#define LV_USE_TILEVIEW   1
#define LV_USE_WIN   1
#define LV_USE_3DTEXTURE   0
#define LV_USE_THEME_DEFAULT   1
#define LV_THEME_DEFAULT_DARK   1
#define LV_THEME_DEFAULT_GROW   1
#define LV_THEME_DEFAULT_TRANSITION_TIME   80
#define LV_USE_THEME_SIMPLE   1
#define LV_USE_THEME_MONO   1
#define LV_USE_FLEX   1
#define LV_USE_GRID   1
#define LV_FS_DEFAULT_DRIVER_LETTER   '\0'
#define LV_USE_FS_STDIO   0
#define LV_USE_FS_POSIX   0
#define LV_USE_FS_WIN32   0
#define LV_USE_FS_FATFS   0
#define LV_USE_FS_MEMFS   0
#define LV_USE_FS_LITTLEFS   0
#define LV_USE_FS_ARDUINO_ESP_LITTLEFS   0
#define LV_USE_FS_ARDUINO_SD   0
#define LV_USE_FS_UEFI   0
#define LV_USE_FS_FROGFS   0
#define LV_USE_LODEPNG   0
#define LV_USE_LIBPNG   0
#define LV_USE_BMP   0
#define LV_USE_TJPGD   0
#define LV_USE_LIBJPEG_TURBO   0
#define LV_USE_LIBWEBP   0
#define LV_USE_GIF   0
#define LV_USE_GSTREAMER   0
#define LV_BIN_DECODER_RAM_LOAD   0
#define LV_USE_RLE   0
#define LV_USE_QRCODE   0
#define LV_USE_BARCODE   0
#define LV_USE_FREETYPE   0
#define LV_USE_TINY_TTF   0
#define LV_USE_RLOTTIE   0
#define LV_USE_GLTF   0
#define LV_USE_VECTOR_GRAPHIC   0
#define LV_USE_THORVG_INTERNAL   0
#define LV_USE_THORVG_EXTERNAL   0
#define LV_USE_NANOVG   0
#define LV_USE_LZ4_INTERNAL   0
#define LV_USE_LZ4_EXTERNAL   0
#define LV_USE_SVG   0
#define LV_USE_SVG_ANIMATION   0
#define LV_USE_SVG_DEBUG   0
#define LV_USE_FFMPEG   0
#define LV_USE_SNAPSHOT   0
#define LV_USE_SYSMON   0
#define LV_USE_PROFILER   0
#define LV_USE_MONKEY   0
#define LV_USE_GRIDNAV   0
#define LV_USE_FRAGMENT   0
#define LV_USE_IMGFONT   0
#define LV_USE_OBSERVER   1
#define LV_USE_IME_PINYIN   0
#define LV_USE_FILE_EXPLORER   0
#define LV_USE_FONT_MANAGER   0
#define LV_USE_TEST   0
#define LV_USE_TRANSLATION   0
#define LV_USE_COLOR_FILTER   0
#define LV_USE_SDL   1
#define LV_SDL_INCLUDE_PATH   <SDL2/SDL.h>
#define LV_SDL_RENDER_MODE   LV_DISPLAY_RENDER_MODE_DIRECT
#define LV_SDL_BUF_COUNT   1
#define LV_SDL_ACCELERATED   1
#define LV_SDL_FULLSCREEN   0
#define LV_SDL_DIRECT_EXIT   1
#define LV_SDL_MOUSEWHEEL_MODE   LV_SDL_MOUSEWHEEL_MODE_ENCODER /*LV_SDL_MOUSEWHEEL_MODE_ENCODER/CROWN*/
#define LV_USE_X11   0
#define LV_USE_WAYLAND   0
#define LV_USE_LINUX_FBDEV   0
#define LV_USE_NUTTX   0
#define LV_USE_LINUX_DRM   0
#define LV_USE_TFT_ESPI   0
#define LV_USE_LOVYAN_GFX   0
#define LV_USE_EVDEV   0
#define LV_USE_LIBINPUT   0
#define LV_USE_ST7735   0
#define LV_USE_ST7789   0
#define LV_USE_ST7796   0
#define LV_USE_ILI9341   0
#define LV_USE_FT81X   0
#define LV_USE_NV3007   0
#define LV_USE_GENERIC_MIPI   0
#define LV_USE_RENESAS_GLCDC   0
#define LV_USE_ST_LTDC   0
#define LV_USE_NXP_ELCDIF   0
#define LV_USE_WINDOWS   0
#define LV_USE_UEFI   0
#define LV_USE_OPENGLES   0
#define LV_USE_GLFW   0
#define LV_USE_QNX   0
#define LV_USE_EXT_DATA   0
#define LV_BUILD_EXAMPLES   1
#define LV_BUILD_DEMOS   1
#define LV_USE_DEMO_WIDGETS   0
#define LV_USE_DEMO_KEYPAD_AND_ENCODER   0
#define LV_USE_DEMO_BENCHMARK   0
#define LV_USE_DEMO_RENDER   0
#define LV_USE_DEMO_STRESS   0
#define LV_USE_DEMO_MUSIC   0
#define LV_USE_DEMO_VECTOR_GRAPHIC   0
#define LV_USE_DEMO_GLTF   0
#define LV_USE_DEMO_FLEX_LAYOUT   0
#define LV_USE_DEMO_MULTILANG   0
#define LV_USE_DEMO_EBIKE   0
#define LV_USE_DEMO_HIGH_RES   0
#define LV_USE_DEMO_SMARTWATCH   0

Detailed Description

Configuration file for v9.6.0-dev

Definition in file lv_conf.h.

Macro Definition Documentation

◆ LV_ASSERT_HANDLER

#define LV_ASSERT_HANDLER   while(1);

Halt by default

Definition at line 517 of file lv_conf.h.

◆ LV_ASSERT_HANDLER_INCLUDE

#define LV_ASSERT_HANDLER_INCLUDE   <stdint.h>

Add a custom handler when assert happens e.g. to restart MCU.

Definition at line 516 of file lv_conf.h.

◆ LV_ATTRIBUTE_EXTERN_DATA

#define LV_ATTRIBUTE_EXTERN_DATA

Prefix all global extern data with this

Definition at line 636 of file lv_conf.h.

◆ LV_ATTRIBUTE_FAST_MEM

#define LV_ATTRIBUTE_FAST_MEM

Place performance critical functions into a faster memory (e.g RAM)

Definition at line 629 of file lv_conf.h.

◆ LV_ATTRIBUTE_FLUSH_READY

#define LV_ATTRIBUTE_FLUSH_READY

Define a custom attribute for lv_display_flush_ready function

Definition at line 612 of file lv_conf.h.

◆ LV_ATTRIBUTE_LARGE_CONST

#define LV_ATTRIBUTE_LARGE_CONST

Attribute to mark large constant arrays, for example for font bitmaps

Definition at line 623 of file lv_conf.h.

◆ LV_ATTRIBUTE_LARGE_RAM_ARRAY

#define LV_ATTRIBUTE_LARGE_RAM_ARRAY

Compiler prefix for a large array declaration in RAM

Definition at line 626 of file lv_conf.h.

◆ LV_ATTRIBUTE_MEM_ALIGN

#define LV_ATTRIBUTE_MEM_ALIGN

Will be added where memory needs to be aligned (with -Os data might not be aligned to boundary by default). E.g. attribute((aligned(4)))

Definition at line 620 of file lv_conf.h.

◆ LV_ATTRIBUTE_MEM_ALIGN_SIZE

#define LV_ATTRIBUTE_MEM_ALIGN_SIZE   1

Align VG_LITE buffers on this number of bytes.

Note
vglite_src_buf_aligned() uses this value to validate alignment of passed buffer pointers.

Definition at line 616 of file lv_conf.h.

◆ LV_ATTRIBUTE_TICK_INC

#define LV_ATTRIBUTE_TICK_INC

Define a custom attribute for lv_tick_inc function

Definition at line 606 of file lv_conf.h.

◆ LV_ATTRIBUTE_TIMER_HANDLER

#define LV_ATTRIBUTE_TIMER_HANDLER

Define a custom attribute for lv_timer_handler function

Definition at line 609 of file lv_conf.h.

◆ LV_BIG_ENDIAN_SYSTEM

#define LV_BIG_ENDIAN_SYSTEM   0

For big endian systems set to 1

Definition at line 603 of file lv_conf.h.

◆ LV_BIN_DECODER_RAM_LOAD

#define LV_BIN_DECODER_RAM_LOAD   0

Decode bin images to RAM

Definition at line 1015 of file lv_conf.h.

◆ LV_BUILD_DEMOS

#define LV_BUILD_DEMOS   1

Build the demos

Definition at line 1458 of file lv_conf.h.

◆ LV_BUILD_EXAMPLES

#define LV_BUILD_EXAMPLES   1

Enable examples to be built with the library.

Definition at line 1455 of file lv_conf.h.

◆ LV_CACHE_DEF_SIZE

#define LV_CACHE_DEF_SIZE   0

Default cache size in bytes. Used by image decoders such as lv_lodepng to keep the decoded image in memory. If size is not set to 0, the decoder will fail to decode when the cache is full. If size is 0, the cache function is not enabled and the decoded memory will be released immediately after use.

Definition at line 550 of file lv_conf.h.

◆ LV_CALENDAR_DEFAULT_DAY_NAMES

#define LV_CALENDAR_DEFAULT_DAY_NAMES   {"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"}

Definition at line 792 of file lv_conf.h.

◆ LV_CALENDAR_DEFAULT_MONTH_NAMES

#define LV_CALENDAR_DEFAULT_MONTH_NAMES   {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}

Definition at line 795 of file lv_conf.h.

◆ LV_CALENDAR_WEEK_STARTS_MONDAY

#define LV_CALENDAR_WEEK_STARTS_MONDAY   0

Definition at line 788 of file lv_conf.h.

◆ LV_COLOR_DEPTH

#define LV_COLOR_DEPTH   32

Color depth: 1 (I1), 8 (L8), 16 (RGB565), 24 (RGB888), 32 (XRGB8888)

Definition at line 30 of file lv_conf.h.

◆ LV_COLOR_MIX_ROUND_OFS

#define LV_COLOR_MIX_ROUND_OFS   0

Adjust color mix functions rounding. GPUs might calculate color mix (blending) differently.

  • 0: round down,
  • 64: round up from x.75,
  • 128: round up from half,
  • 192: round up from x.25,
  • 254: round up

Definition at line 566 of file lv_conf.h.

◆ LV_DEF_REFR_PERIOD

#define LV_DEF_REFR_PERIOD   33

Default display refresh, input device read and animation step period. [ms]

Definition at line 91 of file lv_conf.h.

◆ LV_DPI_DEF

#define LV_DPI_DEF   130

Default Dots Per Inch. Used to initialize default sizes such as widgets sized, style paddings. (Not so important, you can adjust it to modify default sizes and spaces.) [px/inch]

Definition at line 95 of file lv_conf.h.

◆ LV_DRAW_BUF_ALIGN

#define LV_DRAW_BUF_ALIGN   4

Align start address of draw_buf addresses to this bytes

Definition at line 135 of file lv_conf.h.

◆ LV_DRAW_BUF_STRIDE_ALIGN

#define LV_DRAW_BUF_STRIDE_ALIGN   1

Align stride of all layers and images to this bytes

Definition at line 132 of file lv_conf.h.

◆ LV_DRAW_LAYER_MAX_MEMORY

#define LV_DRAW_LAYER_MAX_MEMORY   0

No limit by default [bytes]

Definition at line 155 of file lv_conf.h.

◆ LV_DRAW_LAYER_SIMPLE_BUF_SIZE

#define LV_DRAW_LAYER_SIMPLE_BUF_SIZE   (24 * 1024)

The target buffer size for simple layer chunks. [bytes]

Definition at line 149 of file lv_conf.h.

◆ LV_DRAW_SW_ASM_CUSTOM_INCLUDE

#define LV_DRAW_SW_ASM_CUSTOM_INCLUDE   ""

Definition at line 227 of file lv_conf.h.

◆ LV_DRAW_SW_CIRCLE_CACHE_SIZE

#define LV_DRAW_SW_CIRCLE_CACHE_SIZE   4

Set number of maximally-cached circle data. The circumference of 1/4 circle are saved for anti-aliasing. radius * 4 bytes are used per circle (the most often used radiuses are saved).

  • 0: disables caching

Definition at line 221 of file lv_conf.h.

◆ LV_DRAW_SW_COMPLEX

#define LV_DRAW_SW_COMPLEX   1
  • 0: Use a simple renderer capable of drawing only simple rectangles with gradient, images, text, and straight lines only.
  • 1: Use a complex renderer capable of drawing rounded corners, shadow, skew lines, and arcs too.

Definition at line 209 of file lv_conf.h.

◆ LV_DRAW_SW_DRAW_UNIT_CNT

#define LV_DRAW_SW_DRAW_UNIT_CNT   1

Set number of draw units.

  • > 1 requires operating system to be enabled in LV_USE_OS.
  • > 1 means multiple threads will render the screen in parallel.

Definition at line 198 of file lv_conf.h.

◆ LV_DRAW_SW_I1_LUM_THRESHOLD

#define LV_DRAW_SW_I1_LUM_THRESHOLD   127

Definition at line 193 of file lv_conf.h.

◆ LV_DRAW_SW_SHADOW_CACHE_SIZE

#define LV_DRAW_SW_SHADOW_CACHE_SIZE   0

Allow buffering some shadow calculation. LV_DRAW_SW_SHADOW_CACHE_SIZE is the maximum shadow size to buffer, where shadow size is shadow_width + radius. Caching has LV_DRAW_SW_SHADOW_CACHE_SIZE^2 RAM cost.

Definition at line 215 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_A8

#define LV_DRAW_SW_SUPPORT_A8   1

Definition at line 188 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_AL88

#define LV_DRAW_SW_SUPPORT_AL88   1

Definition at line 187 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_ARGB8888

#define LV_DRAW_SW_SUPPORT_ARGB8888   1

Definition at line 184 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_ARGB8888_PREMULTIPLIED

#define LV_DRAW_SW_SUPPORT_ARGB8888_PREMULTIPLIED   1

Definition at line 185 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_I1

#define LV_DRAW_SW_SUPPORT_I1   1

Definition at line 189 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_L8

#define LV_DRAW_SW_SUPPORT_L8   1

Definition at line 186 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_RGB565

#define LV_DRAW_SW_SUPPORT_RGB565   1

Definition at line 179 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_RGB565_SWAPPED

#define LV_DRAW_SW_SUPPORT_RGB565_SWAPPED   1

Definition at line 180 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_RGB565A8

#define LV_DRAW_SW_SUPPORT_RGB565A8   1

Definition at line 181 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_RGB888

#define LV_DRAW_SW_SUPPORT_RGB888   1

Definition at line 182 of file lv_conf.h.

◆ LV_DRAW_SW_SUPPORT_XRGB8888

#define LV_DRAW_SW_SUPPORT_XRGB8888   1

Definition at line 183 of file lv_conf.h.

◆ LV_DRAW_THREAD_PRIO

#define LV_DRAW_THREAD_PRIO   LV_THREAD_PRIO_HIGH

Thread priority of the drawing task. Higher values mean higher priority. Can use values from lv_thread_prio_t enum in lv_os.h: LV_THREAD_PRIO_LOWEST, LV_THREAD_PRIO_LOW, LV_THREAD_PRIO_MID, LV_THREAD_PRIO_HIGH, LV_THREAD_PRIO_HIGHEST Make sure the priority value aligns with the OS-specific priority levels. On systems with limited priority levels (e.g., FreeRTOS), a higher value can improve rendering performance but might cause other tasks to starve.

Definition at line 169 of file lv_conf.h.

◆ LV_DRAW_THREAD_STACK_SIZE

#define LV_DRAW_THREAD_STACK_SIZE   (8 * 1024)

Stack size of drawing thread. NOTE: If FreeType or ThorVG is enabled, it is recommended to set it to 32KB or more. [bytes]

Definition at line 160 of file lv_conf.h.

◆ LV_DRAW_TRANSFORM_USE_MATRIX

#define LV_DRAW_TRANSFORM_USE_MATRIX   0

Using matrix for effectformations. Requirements:

  • LV_USE_MATRIX = 1.
  • Rendering engine needs to support 3x3 matrix effectformations.

Definition at line 141 of file lv_conf.h.

◆ LV_ENABLE_GLOBAL_CUSTOM

#define LV_ENABLE_GLOBAL_CUSTOM   0

Definition at line 539 of file lv_conf.h.

◆ LV_EXPORT_CONST_INT

#define LV_EXPORT_CONST_INT ( int_value)
Value:
struct _silence_gcc_warning

Export integer constant to binding. This macro is used with constants in the form of LV_<CONST> that should also appear on LVGL binding API such as MicroPython. The default value just prevents GCC warning

Definition at line 633 of file lv_conf.h.

◆ LV_FONT_CUSTOM_DECLARE

#define LV_FONT_CUSTOM_DECLARE

Optionally declare custom fonts here.

You can use any of these fonts as the default font too and they will be available globally. Example:

#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(my_font_1) LV_FONT_DECLARE(my_font_2)

Definition at line 697 of file lv_conf.h.

◆ LV_FONT_DEFAULT

#define LV_FONT_DEFAULT   &lv_font_montserrat_14

Always set a default font

Definition at line 700 of file lv_conf.h.

◆ LV_FONT_DEJAVU_16_PERSIAN_HEBREW

#define LV_FONT_DEJAVU_16_PERSIAN_HEBREW   0

Hebrew, Arabic, Persian letters and all their forms

Definition at line 680 of file lv_conf.h.

◆ LV_FONT_FMT_TXT_LARGE

#define LV_FONT_FMT_TXT_LARGE   0

Enable handling large font and/or fonts with a lot of characters. The limit depends on the font size, font face and bpp. A compiler error will be triggered if a font needs it.

Definition at line 705 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_10

#define LV_FONT_MONTSERRAT_10   0

Definition at line 657 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_12

#define LV_FONT_MONTSERRAT_12   0

Definition at line 658 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_14

#define LV_FONT_MONTSERRAT_14   1

Definition at line 659 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_16

#define LV_FONT_MONTSERRAT_16   0

Definition at line 660 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_18

#define LV_FONT_MONTSERRAT_18   0

Definition at line 661 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_20

#define LV_FONT_MONTSERRAT_20   0

Definition at line 662 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_22

#define LV_FONT_MONTSERRAT_22   0

Definition at line 663 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_24

#define LV_FONT_MONTSERRAT_24   0

Definition at line 664 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_26

#define LV_FONT_MONTSERRAT_26   0

Definition at line 665 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_28

#define LV_FONT_MONTSERRAT_28   1

Definition at line 666 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_28_COMPRESSED

#define LV_FONT_MONTSERRAT_28_COMPRESSED   0

bpp = 3

Definition at line 679 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_30

#define LV_FONT_MONTSERRAT_30   0

Definition at line 667 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_32

#define LV_FONT_MONTSERRAT_32   0

Definition at line 668 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_34

#define LV_FONT_MONTSERRAT_34   0

Definition at line 669 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_36

#define LV_FONT_MONTSERRAT_36   0

Definition at line 670 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_38

#define LV_FONT_MONTSERRAT_38   0

Definition at line 671 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_40

#define LV_FONT_MONTSERRAT_40   0

Definition at line 672 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_42

#define LV_FONT_MONTSERRAT_42   0

Definition at line 673 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_44

#define LV_FONT_MONTSERRAT_44   0

Definition at line 674 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_46

#define LV_FONT_MONTSERRAT_46   0

Definition at line 675 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_48

#define LV_FONT_MONTSERRAT_48   0

Definition at line 676 of file lv_conf.h.

◆ LV_FONT_MONTSERRAT_8

#define LV_FONT_MONTSERRAT_8   0

Definition at line 656 of file lv_conf.h.

◆ LV_FONT_SOURCE_HAN_SANS_SC_14_CJK

#define LV_FONT_SOURCE_HAN_SANS_SC_14_CJK   0

1338 most common CJK radicals

Definition at line 681 of file lv_conf.h.

◆ LV_FONT_SOURCE_HAN_SANS_SC_16_CJK

#define LV_FONT_SOURCE_HAN_SANS_SC_16_CJK   0

1338 most common CJK radicals

Definition at line 682 of file lv_conf.h.

◆ LV_FONT_UNSCII_16

#define LV_FONT_UNSCII_16   0

Definition at line 686 of file lv_conf.h.

◆ LV_FONT_UNSCII_8

#define LV_FONT_UNSCII_8   0

Pixel perfect monospaced fonts

Definition at line 685 of file lv_conf.h.

◆ LV_FS_DEFAULT_DRIVER_LETTER

#define LV_FS_DEFAULT_DRIVER_LETTER   '\0'

Setting a default driver letter allows skipping the driver prefix in filepaths. Documentation about how to use the below driver-identifier letters can be found at https://docs.lvgl.io/master/main-modules/fs.html#lv-fs-identifier-letters .

Definition at line 912 of file lv_conf.h.

◆ LV_GRADIENT_MAX_STOPS

#define LV_GRADIENT_MAX_STOPS   2

Number of stops allowed per gradient. Increase this to allow more stops. This adds (sizeof(lv_color_t) + 1) bytes per additional stop.

Definition at line 558 of file lv_conf.h.

◆ LV_IMAGE_HEADER_CACHE_DEF_CNT

#define LV_IMAGE_HEADER_CACHE_DEF_CNT   0

Default number of image header cache entries. The cache is used to store the headers of images The main logic is like LV_CACHE_DEF_SIZE but for image headers.

Definition at line 554 of file lv_conf.h.

◆ LV_INTTYPES_INCLUDE

#define LV_INTTYPES_INCLUDE   <inttypes.h>

Definition at line 66 of file lv_conf.h.

◆ LV_LABEL_LONG_TXT_HINT

#define LV_LABEL_LONG_TXT_HINT   1

Store some extra info in labels to speed up drawing of very long text

Definition at line 818 of file lv_conf.h.

◆ LV_LABEL_TEXT_SELECTION

#define LV_LABEL_TEXT_SELECTION   1

Enable selecting text of the label

Definition at line 817 of file lv_conf.h.

◆ LV_LABEL_WAIT_CHAR_COUNT

#define LV_LABEL_WAIT_CHAR_COUNT   3

The count of wait chart

Definition at line 819 of file lv_conf.h.

◆ LV_LIMITS_INCLUDE

#define LV_LIMITS_INCLUDE   <limits.h>

Definition at line 67 of file lv_conf.h.

◆ LV_MEM_ADR

#define LV_MEM_ADR   0

Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too. 0: unused

Definition at line 78 of file lv_conf.h.

◆ LV_MEM_POOL_EXPAND_SIZE

#define LV_MEM_POOL_EXPAND_SIZE   0

Size of the memory expand for lv_malloc() in bytes

Definition at line 75 of file lv_conf.h.

◆ LV_MEM_SIZE

#define LV_MEM_SIZE   (512 * 1024U)

Size of memory available for lv_malloc() in bytes (>= 2kB) [bytes]

Definition at line 72 of file lv_conf.h.

◆ LV_OBJ_ID_AUTO_ASSIGN

#define LV_OBJ_ID_AUTO_ASSIGN   LV_USE_OBJ_ID

Automatically assign an ID when obj is created

Definition at line 578 of file lv_conf.h.

◆ LV_OBJ_STYLE_CACHE

#define LV_OBJ_STYLE_CACHE   0

Add 2 x 32-bit variables to each lv_obj_t to speed up getting style properties

Definition at line 569 of file lv_conf.h.

◆ LV_OS_CUSTOM_INCLUDE

#define LV_OS_CUSTOM_INCLUDE   <stdint.h>

Definition at line 113 of file lv_conf.h.

◆ LV_OS_IDLE_PERCENT_CUSTOM

#define LV_OS_IDLE_PERCENT_CUSTOM   0

Definition at line 124 of file lv_conf.h.

◆ LV_SDL_ACCELERATED

#define LV_SDL_ACCELERATED   1

1: Use hardware acceleration

Definition at line 1278 of file lv_conf.h.

◆ LV_SDL_BUF_COUNT

#define LV_SDL_BUF_COUNT   1

1 or 2

Definition at line 1277 of file lv_conf.h.

◆ LV_SDL_DIRECT_EXIT

#define LV_SDL_DIRECT_EXIT   1

1: Exit the application when all SDL windows are closed

Definition at line 1280 of file lv_conf.h.

◆ LV_SDL_FULLSCREEN

#define LV_SDL_FULLSCREEN   0

1: Make the window full screen by default

Definition at line 1279 of file lv_conf.h.

◆ LV_SDL_INCLUDE_PATH

#define LV_SDL_INCLUDE_PATH   <SDL2/SDL.h>

Definition at line 1275 of file lv_conf.h.

◆ LV_SDL_MOUSEWHEEL_MODE

#define LV_SDL_MOUSEWHEEL_MODE   LV_SDL_MOUSEWHEEL_MODE_ENCODER /*LV_SDL_MOUSEWHEEL_MODE_ENCODER/CROWN*/

Definition at line 1281 of file lv_conf.h.

◆ LV_SDL_RENDER_MODE

#define LV_SDL_RENDER_MODE   LV_DISPLAY_RENDER_MODE_DIRECT

LV_DISPLAY_RENDER_MODE_DIRECT is recommended for best performance

Definition at line 1276 of file lv_conf.h.

◆ LV_SPAN_SNIPPET_STACK_SIZE

#define LV_SPAN_SNIPPET_STACK_SIZE   64

A line of text can contain this maximum number of span descriptors.

Definition at line 843 of file lv_conf.h.

◆ LV_STDARG_INCLUDE

#define LV_STDARG_INCLUDE   <stdarg.h>

Definition at line 68 of file lv_conf.h.

◆ LV_STDBOOL_INCLUDE

#define LV_STDBOOL_INCLUDE   <stdbool.h>

Definition at line 65 of file lv_conf.h.

◆ LV_STDDEF_INCLUDE

#define LV_STDDEF_INCLUDE   <stddef.h>

Definition at line 64 of file lv_conf.h.

◆ LV_STDINT_INCLUDE

#define LV_STDINT_INCLUDE   <stdint.h>

Definition at line 63 of file lv_conf.h.

◆ LV_TEXTAREA_DEF_PWD_SHOW_TIME

#define LV_TEXTAREA_DEF_PWD_SHOW_TIME   1500

[ms]

Definition at line 858 of file lv_conf.h.

◆ LV_THEME_DEFAULT_DARK

#define LV_THEME_DEFAULT_DARK   1

0: Light mode; 1: Dark mode

Definition at line 876 of file lv_conf.h.

◆ LV_THEME_DEFAULT_GROW

#define LV_THEME_DEFAULT_GROW   1

1: Enable grow on press

Definition at line 879 of file lv_conf.h.

◆ LV_THEME_DEFAULT_TRANSITION_TIME

#define LV_THEME_DEFAULT_TRANSITION_TIME   80

Default effectition time in ms.

Definition at line 882 of file lv_conf.h.

◆ LV_TXT_BREAK_CHARS

#define LV_TXT_BREAK_CHARS   " ,.;:-_)]}"

While rendering text strings, break (wrap) text on these chars.

Definition at line 726 of file lv_conf.h.

◆ LV_TXT_COLOR_CMD

#define LV_TXT_COLOR_CMD   "#"

Definition at line 757 of file lv_conf.h.

◆ LV_TXT_ENC

#define LV_TXT_ENC   LV_TXT_ENC_UTF8

Select a character encoding for strings. Your IDE or editor should have the same character encoding.

  • LV_TXT_ENC_UTF8
  • LV_TXT_ENC_ASCII

Definition at line 723 of file lv_conf.h.

◆ LV_TXT_LINE_BREAK_LONG_LEN

#define LV_TXT_LINE_BREAK_LONG_LEN   0

If a word is at least this long, will break wherever "prettiest". To disable, set to a value <= 0.

Definition at line 730 of file lv_conf.h.

◆ LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN

#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN   3

Minimum number of characters in a long word to put on a line after a break. Depends on LV_TXT_LINE_BREAK_LONG_LEN.

Definition at line 738 of file lv_conf.h.

◆ LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN

#define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN   3

Minimum number of characters in a long word to put on a line before a break. Depends on LV_TXT_LINE_BREAK_LONG_LEN.

Definition at line 734 of file lv_conf.h.

◆ LV_USE_3DTEXTURE

#define LV_USE_3DTEXTURE   0

Definition at line 865 of file lv_conf.h.

◆ LV_USE_ANIMIMG

#define LV_USE_ANIMIMG   1

Definition at line 774 of file lv_conf.h.

◆ LV_USE_ARABIC_PERSIAN_CHARS

#define LV_USE_ARABIC_PERSIAN_CHARS   0

Enable Arabic/Persian processing In these languages characters should be replaced with another form based on their position in the text

Definition at line 754 of file lv_conf.h.

◆ LV_USE_ARC

#define LV_USE_ARC   1

Definition at line 776 of file lv_conf.h.

◆ LV_USE_ARCLABEL

#define LV_USE_ARCLABEL   1

Definition at line 778 of file lv_conf.h.

◆ LV_USE_ASSERT_MALLOC

#define LV_USE_ASSERT_MALLOC   1

Checks is the memory is successfully allocated or no. (Very fast, recommended)

Definition at line 510 of file lv_conf.h.

◆ LV_USE_ASSERT_MEM_INTEGRITY

#define LV_USE_ASSERT_MEM_INTEGRITY   0

Check the integrity of lv_mem after critical operations. (Slow)

Definition at line 512 of file lv_conf.h.

◆ LV_USE_ASSERT_NULL

#define LV_USE_ASSERT_NULL   1

Check if the parameter is NULL. (Very fast, recommended)

Definition at line 509 of file lv_conf.h.

◆ LV_USE_ASSERT_OBJ

#define LV_USE_ASSERT_OBJ   0

Check the object's type and existence (e.g. not deleted). (Slow)

Definition at line 513 of file lv_conf.h.

◆ LV_USE_ASSERT_STYLE

#define LV_USE_ASSERT_STYLE   0

Check if the styles are properly initialized. (Very fast, recommended)

Definition at line 511 of file lv_conf.h.

◆ LV_USE_BAR

#define LV_USE_BAR   1

Definition at line 780 of file lv_conf.h.

◆ LV_USE_BARCODE

#define LV_USE_BARCODE   0

Barcode code library

Definition at line 1024 of file lv_conf.h.

◆ LV_USE_BIDI

#define LV_USE_BIDI   0

Support bidirectional text. Allows mixing Left-to-Right and Right-to-Left text. The direction will be processed according to the Unicode Bidirectional Algorithm: https://www.w3.org/International/articles/inline-bidi-markup/uba-basics

Definition at line 743 of file lv_conf.h.

◆ LV_USE_BMP

#define LV_USE_BMP   0

BMP decoder library

Definition at line 991 of file lv_conf.h.

◆ LV_USE_BUTTON

#define LV_USE_BUTTON   1

Definition at line 782 of file lv_conf.h.

◆ LV_USE_BUTTONMATRIX

#define LV_USE_BUTTONMATRIX   1

Definition at line 784 of file lv_conf.h.

◆ LV_USE_CALENDAR

#define LV_USE_CALENDAR   1

Definition at line 786 of file lv_conf.h.

◆ LV_USE_CALENDAR_CHINESE

#define LV_USE_CALENDAR_CHINESE   0

Definition at line 798 of file lv_conf.h.

◆ LV_USE_CALENDAR_HEADER_ARROW

#define LV_USE_CALENDAR_HEADER_ARROW   1

Definition at line 796 of file lv_conf.h.

◆ LV_USE_CALENDAR_HEADER_DROPDOWN

#define LV_USE_CALENDAR_HEADER_DROPDOWN   1

Definition at line 797 of file lv_conf.h.

◆ LV_USE_CANVAS

#define LV_USE_CANVAS   1

Definition at line 801 of file lv_conf.h.

◆ LV_USE_CHART

#define LV_USE_CHART   1

Definition at line 803 of file lv_conf.h.

◆ LV_USE_CHECKBOX

#define LV_USE_CHECKBOX   1

Definition at line 805 of file lv_conf.h.

◆ LV_USE_COLOR_FILTER

#define LV_USE_COLOR_FILTER   0

Definition at line 1266 of file lv_conf.h.

◆ LV_USE_DEMO_BENCHMARK

#define LV_USE_DEMO_BENCHMARK   0

Benchmark your system

Definition at line 1472 of file lv_conf.h.

◆ LV_USE_DEMO_EBIKE

#define LV_USE_DEMO_EBIKE   0

Definition at line 1513 of file lv_conf.h.

◆ LV_USE_DEMO_FLEX_LAYOUT

#define LV_USE_DEMO_FLEX_LAYOUT   0

Flex layout demo

Definition at line 1507 of file lv_conf.h.

◆ LV_USE_DEMO_GLTF

#define LV_USE_DEMO_GLTF   0

GLTF demo

Definition at line 1500 of file lv_conf.h.

◆ LV_USE_DEMO_HIGH_RES

#define LV_USE_DEMO_HIGH_RES   0

High-resolution demo

Definition at line 1519 of file lv_conf.h.

◆ LV_USE_DEMO_KEYPAD_AND_ENCODER

#define LV_USE_DEMO_KEYPAD_AND_ENCODER   0

Demonstrate usage of encoder and keyboard.

Definition at line 1469 of file lv_conf.h.

◆ LV_USE_DEMO_MULTILANG

#define LV_USE_DEMO_MULTILANG   0

Smart-phone like multi-language demo

Definition at line 1510 of file lv_conf.h.

◆ LV_USE_DEMO_MUSIC

#define LV_USE_DEMO_MUSIC   0

Music player demo

Definition at line 1487 of file lv_conf.h.

◆ LV_USE_DEMO_RENDER

#define LV_USE_DEMO_RENDER   0

Render test for each primitive.

  • Requires at least 480x272 display.

Definition at line 1481 of file lv_conf.h.

◆ LV_USE_DEMO_SMARTWATCH

#define LV_USE_DEMO_SMARTWATCH   0

Definition at line 1522 of file lv_conf.h.

◆ LV_USE_DEMO_STRESS

#define LV_USE_DEMO_STRESS   0

Stress test for LVGL

Definition at line 1484 of file lv_conf.h.

◆ LV_USE_DEMO_VECTOR_GRAPHIC

#define LV_USE_DEMO_VECTOR_GRAPHIC   0

Vector graphic demo

Definition at line 1497 of file lv_conf.h.

◆ LV_USE_DEMO_WIDGETS

#define LV_USE_DEMO_WIDGETS   0

Show some widgets. This might be required to increase LV_MEM_SIZE.

Definition at line 1466 of file lv_conf.h.

◆ LV_USE_DRAW_ARM2D_SYNC

#define LV_USE_DRAW_ARM2D_SYNC   0

Use Arm-2D to accelerate software (sw) rendering.

Definition at line 201 of file lv_conf.h.

◆ LV_USE_DRAW_DAVE2D

#define LV_USE_DRAW_DAVE2D   0

Use Renesas Dave2D on RA platforms.

Definition at line 316 of file lv_conf.h.

◆ LV_USE_DRAW_DMA2D

#define LV_USE_DRAW_DMA2D   0

Accelerate blends, fills, etc. with STM32 DMA2D

Definition at line 399 of file lv_conf.h.

◆ LV_USE_DRAW_EVE

#define LV_USE_DRAW_EVE   0

Definition at line 423 of file lv_conf.h.

◆ LV_USE_DRAW_NANOVG

#define LV_USE_DRAW_NANOVG   0

Use NanoVG Renderer

  • Requires LV_USE_NANOVG, LV_USE_MATRIX.

Definition at line 437 of file lv_conf.h.

◆ LV_USE_DRAW_OPENGLES

#define LV_USE_DRAW_OPENGLES   0

Draw using cached OpenGLES textures. Requires LV_USE_OPENGLES

Definition at line 410 of file lv_conf.h.

◆ LV_USE_DRAW_SDL

#define LV_USE_DRAW_SDL   0

Draw using cached SDL textures

Definition at line 319 of file lv_conf.h.

◆ LV_USE_DRAW_SW

#define LV_USE_DRAW_SW   1

Definition at line 171 of file lv_conf.h.

◆ LV_USE_DRAW_SW_ASM

#define LV_USE_DRAW_SW_ASM   LV_DRAW_SW_ASM_NONE

Definition at line 224 of file lv_conf.h.

◆ LV_USE_DRAW_SW_COMPLEX_GRADIENTS

#define LV_USE_DRAW_SW_COMPLEX_GRADIENTS   0

Enable drawing complex gradients in software: linear at an angle, radial or conical

Definition at line 231 of file lv_conf.h.

◆ LV_USE_DRAW_VG_LITE

#define LV_USE_DRAW_VG_LITE   0

Use VG-Lite GPU.

Definition at line 322 of file lv_conf.h.

◆ LV_USE_DROPDOWN

#define LV_USE_DROPDOWN   1

Requires: lv_label

Definition at line 807 of file lv_conf.h.

◆ LV_USE_EVDEV

#define LV_USE_EVDEV   0

Driver for evdev input devices

Definition at line 1376 of file lv_conf.h.

◆ LV_USE_EXT_DATA

#define LV_USE_EXT_DATA   0

Enable or disable for external data and destructor function

Definition at line 1448 of file lv_conf.h.

◆ LV_USE_FFMPEG

#define LV_USE_FFMPEG   0

FFmpeg library for image decoding and playing videos. Supports all major image formats so do not enable other image decoder with it.

Definition at line 1083 of file lv_conf.h.

◆ LV_USE_FILE_EXPLORER

#define LV_USE_FILE_EXPLORER   0

1: Enable file explorer.

  • Requires: lv_table

Definition at line 1229 of file lv_conf.h.

◆ LV_USE_FLEX

#define LV_USE_FLEX   1

A layout similar to Flexbox in CSS.

Definition at line 897 of file lv_conf.h.

◆ LV_USE_FLOAT

#define LV_USE_FLOAT   0

Use float as lv_value_precise_t

Definition at line 639 of file lv_conf.h.

◆ LV_USE_FONT_COMPRESSED

#define LV_USE_FONT_COMPRESSED   0

Enables/disables support for compressed fonts.

Definition at line 708 of file lv_conf.h.

◆ LV_USE_FONT_MANAGER

#define LV_USE_FONT_MANAGER   0

1: Enable Font manager

Definition at line 1239 of file lv_conf.h.

◆ LV_USE_FONT_PLACEHOLDER

#define LV_USE_FONT_PLACEHOLDER   1

Enable drawing placeholders when glyph dsc is not found.

Definition at line 711 of file lv_conf.h.

◆ LV_USE_FRAGMENT

#define LV_USE_FRAGMENT   0

1: Enable lv_obj fragment logic

Definition at line 1201 of file lv_conf.h.

◆ LV_USE_FREERTOS_TASK_NOTIFY

#define LV_USE_FREERTOS_TASK_NOTIFY   1

Definition at line 121 of file lv_conf.h.

◆ LV_USE_FREETYPE

#define LV_USE_FREETYPE   0

FreeType library

Definition at line 1027 of file lv_conf.h.

◆ LV_USE_FS_ARDUINO_ESP_LITTLEFS

#define LV_USE_FS_ARDUINO_ESP_LITTLEFS   0

API for Arduino LittleFs.

Definition at line 960 of file lv_conf.h.

◆ LV_USE_FS_ARDUINO_SD

#define LV_USE_FS_ARDUINO_SD   0

API for Arduino Sd.

Definition at line 967 of file lv_conf.h.

◆ LV_USE_FS_FATFS

#define LV_USE_FS_FATFS   0

API for FATFS (needs to be added separately). Uses f_open, f_read, etc.

Definition at line 939 of file lv_conf.h.

◆ LV_USE_FS_FROGFS

#define LV_USE_FS_FROGFS   0

Definition at line 979 of file lv_conf.h.

◆ LV_USE_FS_LITTLEFS

#define LV_USE_FS_LITTLEFS   0

API for LittleFs.

Definition at line 953 of file lv_conf.h.

◆ LV_USE_FS_MEMFS

#define LV_USE_FS_MEMFS   0

API for memory-mapped file access.

Definition at line 947 of file lv_conf.h.

◆ LV_USE_FS_POSIX

#define LV_USE_FS_POSIX   0

API for open, read, etc.

Definition at line 923 of file lv_conf.h.

◆ LV_USE_FS_STDIO

#define LV_USE_FS_STDIO   0

API for fopen, fread, etc.

Definition at line 915 of file lv_conf.h.

◆ LV_USE_FS_UEFI

#define LV_USE_FS_UEFI   0

API for UEFI

Definition at line 974 of file lv_conf.h.

◆ LV_USE_FS_WIN32

#define LV_USE_FS_WIN32   0

API for CreateFile, ReadFile, etc.

Definition at line 931 of file lv_conf.h.

◆ LV_USE_FT81X

#define LV_USE_FT81X   0

Definition at line 1397 of file lv_conf.h.

◆ LV_USE_G2D

#define LV_USE_G2D   0

Use NXP's G2D on MPU platforms.

Definition at line 293 of file lv_conf.h.

◆ LV_USE_GENERIC_MIPI

#define LV_USE_GENERIC_MIPI   0

Definition at line 1403 of file lv_conf.h.

◆ LV_USE_GESTURE_RECOGNITION

#define LV_USE_GESTURE_RECOGNITION   0

Definition at line 596 of file lv_conf.h.

◆ LV_USE_GIF

#define LV_USE_GIF   0

GIF decoder library

Definition at line 1005 of file lv_conf.h.

◆ LV_USE_GLFW

#define LV_USE_GLFW   0

Use GLFW to open window on PC and handle mouse and keyboard. Requires

Definition at line 1438 of file lv_conf.h.

◆ LV_USE_GLTF

#define LV_USE_GLTF   0

Requires LV_USE_3DTEXTURE = 1

Definition at line 1050 of file lv_conf.h.

◆ LV_USE_GRID

#define LV_USE_GRID   1

A layout similar to Grid in CSS.

Definition at line 900 of file lv_conf.h.

◆ LV_USE_GRIDNAV

#define LV_USE_GRIDNAV   0

1: Enable grid navigation

Definition at line 1198 of file lv_conf.h.

◆ LV_USE_GSTREAMER

#define LV_USE_GSTREAMER   0

GStreamer library

Definition at line 1012 of file lv_conf.h.

◆ LV_USE_ILI9341

#define LV_USE_ILI9341   0

Definition at line 1396 of file lv_conf.h.

◆ LV_USE_IMAGE

#define LV_USE_IMAGE   1

Requires: lv_label

Definition at line 809 of file lv_conf.h.

◆ LV_USE_IMAGEBUTTON

#define LV_USE_IMAGEBUTTON   1

Definition at line 811 of file lv_conf.h.

◆ LV_USE_IME_PINYIN

#define LV_USE_IME_PINYIN   0

1: Enable Pinyin input method

  • Requires: lv_keyboard

Definition at line 1211 of file lv_conf.h.

◆ LV_USE_IMGFONT

#define LV_USE_IMGFONT   0

1: Support using images as font in label or span widgets

Definition at line 1204 of file lv_conf.h.

◆ LV_USE_KEYBOARD

#define LV_USE_KEYBOARD   1

Definition at line 813 of file lv_conf.h.

◆ LV_USE_LABEL

#define LV_USE_LABEL   1

Definition at line 815 of file lv_conf.h.

◆ LV_USE_LAYER_DEBUG

#define LV_USE_LAYER_DEBUG   0

1: Draw a red overlay for ARGB layers and a green overlay for RGB layers

Definition at line 527 of file lv_conf.h.

◆ LV_USE_LED

#define LV_USE_LED   1

Definition at line 822 of file lv_conf.h.

◆ LV_USE_LIBINPUT

#define LV_USE_LIBINPUT   0

Driver for libinput input devices

Definition at line 1379 of file lv_conf.h.

◆ LV_USE_LIBJPEG_TURBO

#define LV_USE_LIBJPEG_TURBO   0

libjpeg-turbo decoder library.

  • Supports complete JPEG specifications and high-performance JPEG decoding.

Definition at line 999 of file lv_conf.h.

◆ LV_USE_LIBPNG

#define LV_USE_LIBPNG   0

PNG decoder(libpng) library

Definition at line 988 of file lv_conf.h.

◆ LV_USE_LIBWEBP

#define LV_USE_LIBWEBP   0

WebP decoder library

Definition at line 1002 of file lv_conf.h.

◆ LV_USE_LINE

#define LV_USE_LINE   1

Definition at line 824 of file lv_conf.h.

◆ LV_USE_LINUX_DRM

#define LV_USE_LINUX_DRM   0

Driver for /dev/dri/card

Definition at line 1353 of file lv_conf.h.

◆ LV_USE_LINUX_FBDEV

#define LV_USE_LINUX_FBDEV   0

Driver for /dev/fb

Definition at line 1302 of file lv_conf.h.

◆ LV_USE_LIST

#define LV_USE_LIST   1

Definition at line 826 of file lv_conf.h.

◆ LV_USE_LODEPNG

#define LV_USE_LODEPNG   0

LODEPNG decoder library

Definition at line 985 of file lv_conf.h.

◆ LV_USE_LOG

#define LV_USE_LOG   0

Enable log module

Definition at line 463 of file lv_conf.h.

◆ LV_USE_LOTTIE

#define LV_USE_LOTTIE   0

Requires: lv_canvas, thorvg

Definition at line 828 of file lv_conf.h.

◆ LV_USE_LOVYAN_GFX

#define LV_USE_LOVYAN_GFX   0

Interface for Lovyan_GFX

Definition at line 1368 of file lv_conf.h.

◆ LV_USE_LZ4_EXTERNAL

#define LV_USE_LZ4_EXTERNAL   0

Use external LZ4 library

Definition at line 1073 of file lv_conf.h.

◆ LV_USE_LZ4_INTERNAL

#define LV_USE_LZ4_INTERNAL   0

Use lvgl built-in LZ4 lib

Definition at line 1070 of file lv_conf.h.

◆ LV_USE_MATRIX

#define LV_USE_MATRIX   0

Enable matrix support

  • Requires LV_USE_FLOAT = 1

Definition at line 643 of file lv_conf.h.

◆ LV_USE_MENU

#define LV_USE_MENU   1

Definition at line 830 of file lv_conf.h.

◆ LV_USE_MONKEY

#define LV_USE_MONKEY   0

1: Enable Monkey test

Definition at line 1195 of file lv_conf.h.

◆ LV_USE_MSGBOX

#define LV_USE_MSGBOX   1

Definition at line 832 of file lv_conf.h.

◆ LV_USE_NANOVG

#define LV_USE_NANOVG   0

Enable NanoVG (vector graphics library)

Definition at line 1067 of file lv_conf.h.

◆ LV_USE_NATIVE_HELIUM_ASM

#define LV_USE_NATIVE_HELIUM_ASM   0

Enable native helium assembly to be compiled.

Definition at line 204 of file lv_conf.h.

◆ LV_USE_NEMA_GFX

#define LV_USE_NEMA_GFX   0

Definition at line 236 of file lv_conf.h.

◆ LV_USE_NUTTX

#define LV_USE_NUTTX   0

Use Nuttx to open window and handle touchscreen

Definition at line 1312 of file lv_conf.h.

◆ LV_USE_NV3007

#define LV_USE_NV3007   0

Definition at line 1398 of file lv_conf.h.

◆ LV_USE_NXP_ELCDIF

#define LV_USE_NXP_ELCDIF   0

Driver for NXP ELCDIF

Definition at line 1417 of file lv_conf.h.

◆ LV_USE_OBJ_ID

#define LV_USE_OBJ_ID   0

Add id field to lv_obj_t

Definition at line 572 of file lv_conf.h.

◆ LV_USE_OBJ_ID_BUILTIN

#define LV_USE_OBJ_ID_BUILTIN   1

Use builtin obj ID handler functions:

  • lv_obj_assign_id: Called when a widget is created. Use a separate counter for each widget class as an ID.
  • lv_obj_id_compare: Compare the ID to decide if it matches with a requested value.
  • lv_obj_stringify_id: Return string-ified identifier, e.g. "button3".
  • lv_obj_free_id: Does nothing, as there is no memory allocation for the ID. When disabled these functions needs to be implemented by the user.

Definition at line 586 of file lv_conf.h.

◆ LV_USE_OBJ_NAME

#define LV_USE_OBJ_NAME   0

Enable support widget names

Definition at line 575 of file lv_conf.h.

◆ LV_USE_OBJ_PROPERTY

#define LV_USE_OBJ_PROPERTY   0

Use obj property set/get API.

Definition at line 589 of file lv_conf.h.

◆ LV_USE_OBJ_PROPERTY_NAME

#define LV_USE_OBJ_PROPERTY_NAME   1

Enable property name support.

Definition at line 592 of file lv_conf.h.

◆ LV_USE_OBSERVER

#define LV_USE_OBSERVER   1

1: Enable an observer pattern implementation

Definition at line 1207 of file lv_conf.h.

◆ LV_USE_OPENGLES

#define LV_USE_OPENGLES   0

Use a generic OpenGL driver that can be used to embed in other applications or used with GLFW/EGL

  • Requires LV_USE_MATRIX.

Definition at line 1432 of file lv_conf.h.

◆ LV_USE_OS

#define LV_USE_OS   LV_OS_FREERTOS

Select operating system to use. Possible options:

  • LV_OS_NONE
  • LV_OS_PTHREAD
  • LV_OS_FREERTOS
  • LV_OS_CMSIS_RTOS2
  • LV_OS_RTTHREAD
  • LV_OS_WINDOWS
  • LV_OS_MQX
  • LV_OS_SDL2
  • LV_OS_CUSTOM

Definition at line 110 of file lv_conf.h.

◆ LV_USE_PARALLEL_DRAW_DEBUG

#define LV_USE_PARALLEL_DRAW_DEBUG   0

1: Adds the following behaviors for debugging:

  • Draw overlays with different colors for each draw_unit's tasks.
  • Draw index number of draw unit on white background.
  • For layers, draws index number of draw unit on black background.

Definition at line 533 of file lv_conf.h.

◆ LV_USE_PPA

#define LV_USE_PPA   0

Draw using espressif PPA accelerator

Definition at line 416 of file lv_conf.h.

◆ LV_USE_PRIVATE_API

#define LV_USE_PRIVATE_API   0

Include lvgl_private.h in lvgl.h to access internal data and functions by default

Definition at line 647 of file lv_conf.h.

◆ LV_USE_PROFILER

#define LV_USE_PROFILER   0

1: Enable runtime performance profiler

Definition at line 1134 of file lv_conf.h.

◆ LV_USE_PXP

#define LV_USE_PXP   0

Use NXP's PXP on iMX RTxxx platforms.

Definition at line 274 of file lv_conf.h.

◆ LV_USE_QNX

#define LV_USE_QNX   0

QNX Screen display and input drivers

Definition at line 1442 of file lv_conf.h.

◆ LV_USE_QRCODE

#define LV_USE_QRCODE   0

QR code library

Definition at line 1021 of file lv_conf.h.

◆ LV_USE_REFR_DEBUG

#define LV_USE_REFR_DEBUG   0

1: Draw random colored rectangles over the redrawn areas.

Definition at line 524 of file lv_conf.h.

◆ LV_USE_RENESAS_GLCDC

#define LV_USE_RENESAS_GLCDC   0

Driver for Renesas GLCD

Definition at line 1407 of file lv_conf.h.

◆ LV_USE_RLE

#define LV_USE_RLE   0

RLE decompress library

Definition at line 1018 of file lv_conf.h.

◆ LV_USE_RLOTTIE

#define LV_USE_RLOTTIE   0

Rlottie library

Definition at line 1047 of file lv_conf.h.

◆ LV_USE_ROLLER

#define LV_USE_ROLLER   1

Requires: lv_label

Definition at line 834 of file lv_conf.h.

◆ LV_USE_SCALE

#define LV_USE_SCALE   1

Definition at line 836 of file lv_conf.h.

◆ LV_USE_SDL

#define LV_USE_SDL   1

Use SDL to open window on PC and handle mouse and keyboard.

Definition at line 1273 of file lv_conf.h.

◆ LV_USE_SLIDER

#define LV_USE_SLIDER   1

Requires: lv_bar

Definition at line 838 of file lv_conf.h.

◆ LV_USE_SNAPSHOT

#define LV_USE_SNAPSHOT   0

1: Enable API to take snapshot for object

Definition at line 1099 of file lv_conf.h.

◆ LV_USE_SPAN

#define LV_USE_SPAN   1

Definition at line 840 of file lv_conf.h.

◆ LV_USE_SPINBOX

#define LV_USE_SPINBOX   1

Definition at line 846 of file lv_conf.h.

◆ LV_USE_SPINNER

#define LV_USE_SPINNER   1

Definition at line 848 of file lv_conf.h.

◆ LV_USE_ST7735

#define LV_USE_ST7735   0

Definition at line 1393 of file lv_conf.h.

◆ LV_USE_ST7789

#define LV_USE_ST7789   0

Definition at line 1394 of file lv_conf.h.

◆ LV_USE_ST7796

#define LV_USE_ST7796   0

Definition at line 1395 of file lv_conf.h.

◆ LV_USE_ST_LTDC

#define LV_USE_ST_LTDC   0

Driver for ST LTDC

Definition at line 1410 of file lv_conf.h.

◆ LV_USE_STDLIB_MALLOC

#define LV_USE_STDLIB_MALLOC   LV_STDLIB_BUILTIN

Possible values

  • LV_STDLIB_BUILTIN: LVGL's built in implementation
  • LV_STDLIB_CLIB: Standard C functions, like malloc, strlen, etc
  • LV_STDLIB_MICROPYTHON: MicroPython implementation
  • LV_STDLIB_RTTHREAD: RT-Thread implementation
  • LV_STDLIB_CUSTOM: Implement the functions externally

Definition at line 43 of file lv_conf.h.

◆ LV_USE_STDLIB_SPRINTF

#define LV_USE_STDLIB_SPRINTF   LV_STDLIB_BUILTIN

Possible values

  • LV_STDLIB_BUILTIN: LVGL's built in implementation
  • LV_STDLIB_CLIB: Standard C functions, like malloc, strlen, etc
  • LV_STDLIB_MICROPYTHON: MicroPython implementation
  • LV_STDLIB_RTTHREAD: RT-Thread implementation
  • LV_STDLIB_CUSTOM: Implement the functions externally

Definition at line 61 of file lv_conf.h.

◆ LV_USE_STDLIB_STRING

#define LV_USE_STDLIB_STRING   LV_STDLIB_BUILTIN

Possible values

  • LV_STDLIB_BUILTIN: LVGL's built in implementation
  • LV_STDLIB_CLIB: Standard C functions, like malloc, strlen, etc
  • LV_STDLIB_MICROPYTHON: MicroPython implementation
  • LV_STDLIB_RTTHREAD: RT-Thread implementation
  • LV_STDLIB_CUSTOM: Implement the functions externally

Definition at line 52 of file lv_conf.h.

◆ LV_USE_SVG

#define LV_USE_SVG   0

Definition at line 1077 of file lv_conf.h.

◆ LV_USE_SVG_ANIMATION

#define LV_USE_SVG_ANIMATION   0

Definition at line 1078 of file lv_conf.h.

◆ LV_USE_SVG_DEBUG

#define LV_USE_SVG_DEBUG   0

Definition at line 1079 of file lv_conf.h.

◆ LV_USE_SWITCH

#define LV_USE_SWITCH   1

Definition at line 850 of file lv_conf.h.

◆ LV_USE_SYSMON

#define LV_USE_SYSMON   0

1: Enable system monitor component

Definition at line 1102 of file lv_conf.h.

◆ LV_USE_TABLE

#define LV_USE_TABLE   1

Definition at line 852 of file lv_conf.h.

◆ LV_USE_TABVIEW

#define LV_USE_TABVIEW   1

Definition at line 854 of file lv_conf.h.

◆ LV_USE_TEST

#define LV_USE_TEST   0

Enable emulated input devices, time emulation, and screenshot compares.

Definition at line 1248 of file lv_conf.h.

◆ LV_USE_TEXTAREA

#define LV_USE_TEXTAREA   1

Requires: lv_label

Definition at line 856 of file lv_conf.h.

◆ LV_USE_TFT_ESPI

#define LV_USE_TFT_ESPI   0

Interface for TFT_eSPI

Definition at line 1365 of file lv_conf.h.

◆ LV_USE_THEME_DEFAULT

#define LV_USE_THEME_DEFAULT   1

A simple, impressive and very complete theme

Definition at line 873 of file lv_conf.h.

◆ LV_USE_THEME_MONO

#define LV_USE_THEME_MONO   1

A theme designed for monochrome displays

Definition at line 889 of file lv_conf.h.

◆ LV_USE_THEME_SIMPLE

#define LV_USE_THEME_SIMPLE   1

A very simple theme that is a good starting point for a custom theme

Definition at line 886 of file lv_conf.h.

◆ LV_USE_THORVG_EXTERNAL

#define LV_USE_THORVG_EXTERNAL   0

Enable ThorVG by assuming that its installed and linked to the project Requires LV_USE_VECTOR_GRAPHIC

Definition at line 1064 of file lv_conf.h.

◆ LV_USE_THORVG_INTERNAL

#define LV_USE_THORVG_INTERNAL   0

Enable ThorVG (vector graphics library) from the src/libs folder. Requires LV_USE_VECTOR_GRAPHIC

Definition at line 1060 of file lv_conf.h.

◆ LV_USE_TILEVIEW

#define LV_USE_TILEVIEW   1

Definition at line 861 of file lv_conf.h.

◆ LV_USE_TINY_TTF

#define LV_USE_TINY_TTF   0

Built-in TTF decoder

Definition at line 1038 of file lv_conf.h.

◆ LV_USE_TJPGD

#define LV_USE_TJPGD   0

JPG + split JPG decoder library. Split JPG is a custom format optimized for embedded systems.

Definition at line 995 of file lv_conf.h.

◆ LV_USE_TRANSLATION

#define LV_USE_TRANSLATION   0

1: Enable text effectlation support

Definition at line 1263 of file lv_conf.h.

◆ LV_USE_UEFI

#define LV_USE_UEFI   0

LVGL UEFI backend

Definition at line 1423 of file lv_conf.h.

◆ LV_USE_VECTOR_GRAPHIC

#define LV_USE_VECTOR_GRAPHIC   0

Enable Vector Graphic APIs Requires LV_USE_MATRIX = 1 and a rendering engine supporting vector graphics, e.g. (LV_USE_DRAW_SW and LV_USE_THORVG) or LV_USE_DRAW_VG_LITE or LV_USE_NEMA_VG.

Definition at line 1056 of file lv_conf.h.

◆ LV_USE_WAYLAND

#define LV_USE_WAYLAND   0

Use Wayland to open a window and handle input on Linux or BSD desktops

Definition at line 1296 of file lv_conf.h.

◆ LV_USE_WIN

#define LV_USE_WIN   1

Definition at line 863 of file lv_conf.h.

◆ LV_USE_WINDOWS

#define LV_USE_WINDOWS   0

LVGL Windows backend

Definition at line 1420 of file lv_conf.h.

◆ LV_USE_X11

#define LV_USE_X11   0

Use X11 to open window on Linux desktop and handle mouse and keyboard

Definition at line 1285 of file lv_conf.h.

◆ LV_WIDGETS_HAS_DEFAULT_VALUE

#define LV_WIDGETS_HAS_DEFAULT_VALUE   1

1: Causes these widgets to be given default values at creation time.

  • lv_buttonmatrix_t: Get default maps: {"Btn1", "Btn2", "Btn3", "\n", "Btn4", "Btn5", ""}, else map not set.
  • lv_checkbox_t : String label set to "Check box", else set to empty string.
  • lv_dropdown_t : Options set to "Option 1", "Option 2", "Option 3", else no values are set.
  • lv_roller_t : Options set to "Option 1", "Option 2", "Option 3", "Option 4", "Option 5", else no values are set.
  • lv_label_t : Text set to "Text", else empty string.
  • lv_arclabel_t : Text set to "Arced Text", else empty string.

Definition at line 772 of file lv_conf.h.