1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 17:52:47 +01:00
RIOT/tests/pkg/lvgl/Makefile
Gunar Schorcht 2a87213ff4 tests/pkg/lvgl: increase main thread stack size for ESPs
ESPx SoC need more stack size for the main thread to avoid stack overflows.
2023-08-09 07:40:35 +02:00

25 lines
626 B
Makefile

BOARD ?= stm32f429i-disc1
include ../Makefile.pkg_common
# No interactive_sync
DISABLE_MODULE += test_utils_interactive_sync
USEPKG += lvgl
USEMODULE += lvgl_contrib
USEMODULE += lvgl_extra_widget_chart
USEMODULE += lvgl_extra_widget_win
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