diff --git a/env_support/cmsis-pack/LVGL.lvgl.9.0.1-dev1.pack b/env_support/cmsis-pack/LVGL.lvgl.9.0.1-dev2.pack similarity index 89% rename from env_support/cmsis-pack/LVGL.lvgl.9.0.1-dev1.pack rename to env_support/cmsis-pack/LVGL.lvgl.9.0.1-dev2.pack index 07cb101c8..443615531 100644 Binary files a/env_support/cmsis-pack/LVGL.lvgl.9.0.1-dev1.pack and b/env_support/cmsis-pack/LVGL.lvgl.9.0.1-dev2.pack differ diff --git a/env_support/cmsis-pack/LVGL.lvgl.pdsc b/env_support/cmsis-pack/LVGL.lvgl.pdsc index 4afb4ff0e..999ed5ce9 100644 --- a/env_support/cmsis-pack/LVGL.lvgl.pdsc +++ b/env_support/cmsis-pack/LVGL.lvgl.pdsc @@ -36,9 +36,10 @@ https://github.com/lvgl/lvgl.git - + - LVGL 9.0.1-dev - - Minor fixes + - Improves benchmark statistics. + - Some fixes - LVGL 9.0.0 @@ -391,7 +392,7 @@ --> - + LVGL (Light and Versatile Graphics Library) is a free and open-source graphics library providing everything you need to create an embedded GUI with easy-to-use graphical elements, beautiful visual effects and a low memory footprint. @@ -630,7 +631,7 @@ - + diff --git a/env_support/cmsis-pack/LVGL.pidx b/env_support/cmsis-pack/LVGL.pidx index 3176cee3d..4f836d7f7 100644 --- a/env_support/cmsis-pack/LVGL.pidx +++ b/env_support/cmsis-pack/LVGL.pidx @@ -2,8 +2,8 @@ LVGL https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/ - 2024-01-25 + 2024-02-06 - + diff --git a/env_support/cmsis-pack/lv_conf_cmsis.h b/env_support/cmsis-pack/lv_conf_cmsis.h index f8844a019..c9a99d255 100644 --- a/env_support/cmsis-pack/lv_conf_cmsis.h +++ b/env_support/cmsis-pack/lv_conf_cmsis.h @@ -48,7 +48,7 @@ #undef LV_MEM_POOL_INCLUDE #undef LV_MEM_POOL_ALLOC #endif -#endif /*LV_USE_MALLOC == LV_STDLIB_BUILTIN*/ +#endif /*LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN*/ /*==================== HAL SETTINGS @@ -87,7 +87,7 @@ #define LV_DRAW_BUF_STRIDE_ALIGN 1 /*Align the start address of draw_buf addresses to this bytes*/ -#define LV_DRAW_BUF_ALIGN 4 +#define LV_DRAW_BUF_ALIGN 1 #define LV_USE_DRAW_SW 1 #if LV_USE_DRAW_SW == 1 @@ -169,6 +169,11 @@ /* VG-Lite flush commit trigger threshold. GPU will try to batch these many draw tasks. */ #define LV_VG_LITE_FLUSH_MAX_COUNT 8 +/* Enable border to simulate shadow + * NOTE: which usually improves performance, + * but does not guarantee the same rendering quality as the software. */ +#define LV_VG_LITE_USE_BOX_SHADOW 0 + #endif /*======================= @@ -288,6 +293,29 @@ /*Use obj property set/get API*/ #define LV_USE_OBJ_PROPERTY 0 +/* VG-Lite Simulator */ +/*Requires: LV_USE_THORVG_INTERNAL or LV_USE_THORVG_EXTERNAL */ +#define LV_USE_VG_LITE_THORVG 0 + +#if LV_USE_VG_LITE_THORVG + + /*Enable LVGL's blend mode support*/ + #define LV_VG_LITE_THORVG_LVGL_BLEND_SUPPORT 0 + + /*Enable YUV color format support*/ + #define LV_VG_LITE_THORVG_YUV_SUPPORT 0 + + /*Enable 16 pixels alignment*/ + #define LV_VG_LITE_THORVG_16PIXELS_ALIGN 1 + + /*Buffer address alignment*/ + #define LV_VG_LITE_THORVG_BUF_ADDR_ALIGN 64 + + /*Enable multi-thread render*/ + #define LV_VG_LITE_THORVG_THREAD_RENDER 0 + +#endif + /*===================== * COMPILER SETTINGS *====================*/ @@ -682,7 +710,7 @@ #endif /*1: Show the used memory and the memory fragmentation - * Requires `LV_USE_BUILTIN_MALLOC = 1` + * Requires `LV_USE_STDLIB_MALLOC = LV_STDLIB_BUILTIN` * Requires `LV_USE_SYSMON = 1`*/ #define LV_USE_MEM_MONITOR 0 #if LV_USE_MEM_MONITOR