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:
parent
2a87213ff4
commit
db71529ef4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user