1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

pkg/lvlgl: allow cusomizing LV_MEM_SIZE

This commit is contained in:
Francisco Molina 2022-03-07 09:06:37 +01:00
parent 7e587b068e
commit 82cebfe15f

View File

@ -66,9 +66,13 @@ extern "C" {
#if LV_MEM_CUSTOM == 0
/*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/
#if IS_USED(MODULE_LVGL_EXTRA_THEME_DEFAULT_GROW)
# ifndef LV_MEM_SIZE
# define LV_MEM_SIZE (6U * 1024U) /*[bytes]*/
# endif
#else
# ifndef LV_MEM_SIZE
# define LV_MEM_SIZE (5U * 1024U) /*[bytes]*/
# endif
#endif
/*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/