feat(color): increase RAM allocation to LVGL (#6447)

e.g. for Lua scripts with many images
This commit is contained in:
philmoz
2025-07-23 10:21:27 +10:00
committed by GitHub
parent 284e2296ca
commit 7264b28e62
+5 -1
View File
@@ -57,7 +57,11 @@
#endif
#if LV_MEM_CUSTOM == 0
/*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/
#define LV_MEM_SIZE (1024U * 1024U) /*[bytes]*/
#if defined(SIMU)
#define LV_MEM_SIZE (4 * 1024U * 1024U) /*[bytes]*/
#else
#define LV_MEM_SIZE (2 * 1024U * 1024U) /*[bytes]*/
#endif
/*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/
#define LV_MEM_ADR 0 /*0: unused*/