From b679f2e3383f293b6dab773ef9821b2bbe428c0a Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Fri, 9 May 2025 22:05:29 +0200 Subject: [PATCH] Increase image cache size --- patches/lv_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/lv_conf.h b/patches/lv_conf.h index b7bf6a58..a1713c56 100644 --- a/patches/lv_conf.h +++ b/patches/lv_conf.h @@ -23,7 +23,7 @@ #define MICROPY_TINY_TTF 0 #endif #ifndef MICROPY_CACHE_SIZE - #define MICROPY_CACHE_SIZE 200 * 1024 // 24 images of 64x64 pixels (8KB) + #define MICROPY_CACHE_SIZE 50 * 64 * 64 * 2 // 50 images of 64x64 pixels at 2 bytes per pixel #endif #ifndef MICROPY_COLOR_DEPTH #define MICROPY_COLOR_DEPTH 16