mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 09:52:43 +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:
parent
d512ff6262
commit
2a87213ff4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user