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

tests/pkg/lvgl_touch: 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:52 +02:00
parent 2a87213ff4
commit db71529ef4

View File

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