diff --git a/tests/pkg/lvgl/Makefile b/tests/pkg/lvgl/Makefile index d8f220b604..2d72ece6e4 100644 --- a/tests/pkg/lvgl/Makefile +++ b/tests/pkg/lvgl/Makefile @@ -12,12 +12,13 @@ USEMODULE += lvgl_extra_layout_flex USEMODULE += lvgl_extra_theme_default USEMODULE += lvgl_extra_theme_default_dark +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