From 87072dc6c809ec76fe7af464af6efb5d701f6d15 Mon Sep 17 00:00:00 2001 From: lvgl-bot Date: Sun, 1 Jun 2025 00:20:06 +0000 Subject: [PATCH] bot: Update LVGL submodule. lv_conf.h. --- lv_conf.h | 139 +++++++++++++++++++++++++++++++----------------------- lvgl | 2 +- 2 files changed, 82 insertions(+), 59 deletions(-) diff --git a/lv_conf.h b/lv_conf.h index 06df6ce..f2b5889 100644 --- a/lv_conf.h +++ b/lv_conf.h @@ -155,6 +155,15 @@ */ #define LV_DRAW_THREAD_STACK_SIZE (8 * 1024) /**< [bytes]*/ +/** 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. */ +#define LV_DRAW_THREAD_PRIO LV_THREAD_PRIO_HIGH + #define LV_USE_DRAW_SW 1 #if LV_USE_DRAW_SW == 1 /* @@ -164,6 +173,7 @@ * - bitmaps with transparency may use ARGB8888 */ #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 @@ -258,6 +268,9 @@ /** Enable VGLite asserts. */ #define LV_USE_VGLITE_ASSERT 0 + + /** Enable VGLite error checks. */ + #define LV_USE_VGLITE_CHECK_ERROR 0 #endif /** Use NXP's PXP on iMX RTxxx platforms. */ @@ -318,7 +331,7 @@ /** 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 + #define LV_VG_LITE_USE_BOX_SHADOW 1 /** VG-Lite gradient maximum cache number. * @note The memory usage of a single gradient image is 4K bytes. */ @@ -1293,73 +1306,83 @@ #define LV_QNX_BUF_COUNT 1 /**< 1 or 2 */ #endif -/*================== -* EXAMPLES -*==================*/ +/*===================== +* BUILD OPTIONS +*======================*/ /** Enable examples to be built with the library. */ #define LV_BUILD_EXAMPLES 1 +/** Build the demos */ +#define LV_BUILD_DEMOS 1 + /*=================== * DEMO USAGE ====================*/ -/** Show some widgets. This might be required to increase `LV_MEM_SIZE`. */ -#define LV_USE_DEMO_WIDGETS 1 +#if LV_BUILD_DEMOS + /** Show some widgets. This might be required to increase `LV_MEM_SIZE`. */ + #define LV_USE_DEMO_WIDGETS 1 + + /** Demonstrate usage of encoder and keyboard. */ + #define LV_USE_DEMO_KEYPAD_AND_ENCODER 1 + + /** Benchmark your system */ + #define LV_USE_DEMO_BENCHMARK 1 -/** Demonstrate usage of encoder and keyboard. */ -#define LV_USE_DEMO_KEYPAD_AND_ENCODER 1 + #if LV_USE_DEMO_BENCHMARK + /** Use fonts where bitmaps are aligned 16 byte and has Nx16 byte stride */ + #define LV_DEMO_BENCHMARK_ALIGNED_FONTS 0 + #endif -/** Benchmark your system */ -#define LV_USE_DEMO_BENCHMARK 1 - -/** Render test for each primitive. - * - Requires at least 480x272 display. */ -#define LV_USE_DEMO_RENDER 1 - -/** Stress test for LVGL */ -#define LV_USE_DEMO_STRESS 1 - -/** Music player demo */ -#define LV_USE_DEMO_MUSIC 1 -#if LV_USE_DEMO_MUSIC - #define LV_DEMO_MUSIC_SQUARE 0 - #define LV_DEMO_MUSIC_LANDSCAPE 0 - #define LV_DEMO_MUSIC_ROUND 0 - #define LV_DEMO_MUSIC_LARGE 0 - #define LV_DEMO_MUSIC_AUTO_PLAY 0 -#endif - -/** Vector graphic demo */ -#define LV_USE_DEMO_VECTOR_GRAPHIC 0 - -/*--------------------------- - * Demos from lvgl/lv_demos - ---------------------------*/ - -/** Flex layout demo */ -#define LV_USE_DEMO_FLEX_LAYOUT 1 - -/** Smart-phone like multi-language demo */ -#define LV_USE_DEMO_MULTILANG 1 - -/** Widget transformation demo */ -#define LV_USE_DEMO_TRANSFORM 1 - -/** Demonstrate scroll settings */ -#define LV_USE_DEMO_SCROLL 1 - -/*E-bike demo with Lottie animations (if LV_USE_LOTTIE is enabled)*/ -#define LV_USE_DEMO_EBIKE 0 -#if LV_USE_DEMO_EBIKE - #define LV_DEMO_EBIKE_PORTRAIT 0 /*0: for 480x270..480x320, 1: for 480x800..720x1280*/ -#endif - -/** High-resolution demo */ -#define LV_USE_DEMO_HIGH_RES 0 - -/* Smart watch demo */ -#define LV_USE_DEMO_SMARTWATCH 0 + /** Render test for each primitive. + * - Requires at least 480x272 display. */ + #define LV_USE_DEMO_RENDER 1 + + /** Stress test for LVGL */ + #define LV_USE_DEMO_STRESS 1 + + /** Music player demo */ + #define LV_USE_DEMO_MUSIC 1 + #if LV_USE_DEMO_MUSIC + #define LV_DEMO_MUSIC_SQUARE 0 + #define LV_DEMO_MUSIC_LANDSCAPE 0 + #define LV_DEMO_MUSIC_ROUND 0 + #define LV_DEMO_MUSIC_LARGE 0 + #define LV_DEMO_MUSIC_AUTO_PLAY 0 + #endif + + /** Vector graphic demo */ + #define LV_USE_DEMO_VECTOR_GRAPHIC 0 + + /*--------------------------- + * Demos from lvgl/lv_demos + ---------------------------*/ + + /** Flex layout demo */ + #define LV_USE_DEMO_FLEX_LAYOUT 1 + + /** Smart-phone like multi-language demo */ + #define LV_USE_DEMO_MULTILANG 1 + + /** Widget transformation demo */ + #define LV_USE_DEMO_TRANSFORM 1 + + /** Demonstrate scroll settings */ + #define LV_USE_DEMO_SCROLL 1 + + /*E-bike demo with Lottie animations (if LV_USE_LOTTIE is enabled)*/ + #define LV_USE_DEMO_EBIKE 0 + #if LV_USE_DEMO_EBIKE + #define LV_DEMO_EBIKE_PORTRAIT 0 /*0: for 480x270..480x320, 1: for 480x800..720x1280*/ + #endif + + /** High-resolution demo */ + #define LV_USE_DEMO_HIGH_RES 0 + + /* Smart watch demo */ + #define LV_USE_DEMO_SMARTWATCH 0 +#endif /* LV_BUILD_DEMOS */ /*--END OF LV_CONF_H--*/ diff --git a/lvgl b/lvgl index 3a33caa..44b76b2 160000 --- a/lvgl +++ b/lvgl @@ -1 +1 @@ -Subproject commit 3a33caa62cb7db083cee4e0f2b97cf9e1c03100c +Subproject commit 44b76b239e625c5025963d78a223b614f17811fb