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

tests/pkg/lvgl: increase main thread stack size for ESPs

ESPx SoC need more stack size for the main thread to avoid stack overflows.
This commit is contained in:
Gunar Schorcht 2023-08-09 07:39:19 +02:00
parent d512ff6262
commit 2a87213ff4

View File

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