diff --git a/radio/src/gui/colorlcd/lv_conf.h b/radio/src/gui/colorlcd/lv_conf.h index 67454607a..27c9c6217 100644 --- a/radio/src/gui/colorlcd/lv_conf.h +++ b/radio/src/gui/colorlcd/lv_conf.h @@ -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*/