1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/lvgl*: add more stack for native

This commit is contained in:
Francisco Molina 2022-02-28 09:24:05 +01:00
parent 3776482758
commit 6bb9656344
2 changed files with 13 additions and 2 deletions

View File

@ -12,6 +12,12 @@ USEMODULE += lvgl_extra_layout_flex
USEMODULE += lvgl_extra_theme_default
USEMODULE += lvgl_extra_theme_default_dark
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2*1024
# SDL requires more stack
ifeq (native,$(BOARD))
CFLAGS += -DTHREAD_STACKSIZE_MAIN=64*1024
else
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2*1024
endif
include $(RIOTBASE)/Makefile.include

View File

@ -15,6 +15,11 @@ USEMODULE += lvgl_extra_theme_default
# uncomment the following to enable growing button (needs more RAM)
# USEMODULE += lvgl_extra_theme_default_grow
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2*1024
# SDL requires more stack
ifeq (native,$(BOARD))
CFLAGS += -DTHREAD_STACKSIZE_MAIN=64*1024
else
CFLAGS += -DTHREAD_STACKSIZE_MAIN=2*1024
endif
include $(RIOTBASE)/Makefile.include