mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
pkg/lvgl: Increase default LV_MEM_SIZE for 64 bit and enable tests for native64
This commit is contained in:
parent
b469a52a21
commit
6ef197688f
@ -65,13 +65,20 @@ extern "C" {
|
||||
#define LV_MEM_CUSTOM 0
|
||||
#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]*/
|
||||
#ifndef LV_MEM_SIZE
|
||||
# if (__SIZEOF_POINTER__ > 4)
|
||||
/*64-bit platforms require additional space because a lot of pointers are stored on the lvgl heap.*/
|
||||
# if IS_USED(MODULE_LVGL_EXTRA_THEME_DEFAULT_GROW)
|
||||
# define LV_MEM_SIZE (9U * 1024U) /*[bytes]*/
|
||||
# else
|
||||
# define LV_MEM_SIZE (8U * 1024U) /*[bytes]*/
|
||||
# endif
|
||||
# else
|
||||
# if IS_USED(MODULE_LVGL_EXTRA_THEME_DEFAULT_GROW)
|
||||
# define LV_MEM_SIZE (6U * 1024U) /*[bytes]*/
|
||||
# else
|
||||
# define LV_MEM_SIZE (5U * 1024U) /*[bytes]*/
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
@ -12,9 +12,6 @@ USEMODULE += lvgl_extra_layout_flex
|
||||
USEMODULE += lvgl_extra_theme_default
|
||||
USEMODULE += lvgl_extra_theme_default_dark
|
||||
|
||||
# blacklist native64 until https://github.com/RIOT-OS/riotdocker/pull/241 is resolved
|
||||
BOARD_BLACKLIST += native64
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
# SDL requires more stack
|
||||
|
||||
@ -17,9 +17,6 @@ USEMODULE += lvgl_extra_theme_default
|
||||
|
||||
USEMODULE += random
|
||||
|
||||
# blacklist native64 until https://github.com/RIOT-OS/riotdocker/pull/241 is resolved
|
||||
BOARD_BLACKLIST += native64
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
# SDL requires more stack
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user