From 7dc570093414a4455f0b45b43fcefde85568cfe9 Mon Sep 17 00:00:00 2001 From: Gabor Peresztegi Date: Tue, 23 Jan 2024 00:56:13 +0100 Subject: [PATCH] Update LVGL --- lv_conf.h | 14 ++++++++++++-- lvgl | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/lv_conf.h b/lv_conf.h index 382477158..c77218b31 100644 --- a/lv_conf.h +++ b/lv_conf.h @@ -1,6 +1,6 @@ /** * @file lv_conf.h - * Configuration file for v9.0.0-rc + * Configuration file for v9.0.0 */ /* @@ -190,7 +190,7 @@ #ifdef MICROPY_LV_USE_LOG #define LV_USE_LOG MICROPY_LV_USE_LOG #else - #define LV_USE_LOG 1 + #define LV_USE_LOG 0 #endif #if LV_USE_LOG @@ -285,6 +285,14 @@ extern void mp_lv_init_gc(); #define LV_CACHE_DEF_SIZE 0 #endif +/*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.*/ +#ifdef MICROPY_IMAGE_HEADER_CACHE_COUNT + #define LV_IMAGE_HEADER_CACHE_DEF_CNT MICROPY_IMAGE_HEADER_CACHE_COUNT +#else + #define LV_IMAGE_HEADER_CACHE_DEF_CNT 32 +#endif + /*Number of stops allowed per gradient. Increase this to allow more stops. *This adds (sizeof(lv_color_t) + 1) bytes per additional stop*/ #define LV_GRADIENT_MAX_STOPS 2 @@ -750,6 +758,8 @@ extern void mp_lv_init_gc(); #define LV_USE_SYSMON 0 #if LV_USE_SYSMON + /*Get the idle percentage. E.g. uint32_t my_get_idle(void);*/ + #define LV_SYSMON_GET_IDLE lv_timer_get_idle /*1: Show CPU usage and FPS count * Requires `LV_USE_SYSMON = 1`*/ diff --git a/lvgl b/lvgl index 8d67e9c48..09cb87cdc 160000 --- a/lvgl +++ b/lvgl @@ -1 +1 @@ -Subproject commit 8d67e9c4888bf0a7bdd568e9ec627da736a933c1 +Subproject commit 09cb87cdc6a0168a98bc0a3182a8439b13249ead