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

tests/pthread*: blacklist boards with low RAM

The pthread tests dynamically allocate memory for the thread stacks.
Therefore while compilation succeeds, they will fail to run on these
low memory boards.

Static allocation of thread stacks is an option to make those tests work
for those boards (confirmed for `tests/pthread`), but it would
change the nature of the tests.
This commit is contained in:
Benjamin Valentin 2019-10-20 15:23:03 +02:00 committed by Benjamin Valentin
parent 8f3d1eaf04
commit b5906c2aa4
5 changed files with 25 additions and 0 deletions

View File

@ -3,4 +3,9 @@ include ../Makefile.tests_common
USEMODULE += posix_headers
USEMODULE += pthread
# The test compiles, but these boards have too little RAM for
# dynamic allocation of thread stacks
BOARD_BLACKLIST := arduino-nano arduino-duemilanove \
arduino-uno nucleo-f031k6 stm32f030f4-demo
include $(RIOTBASE)/Makefile.include

View File

@ -5,4 +5,9 @@ USEMODULE += pthread
USEMODULE += random
USEMODULE += xtimer
# The test compiles, but these boards have too little RAM for
# dynamic allocation of thread stacks
BOARD_BLACKLIST := arduino-nano arduino-duemilanove \
arduino-uno nucleo-f031k6 stm32f030f4-demo
include $(RIOTBASE)/Makefile.include

View File

@ -2,4 +2,9 @@ include ../Makefile.tests_common
USEMODULE += pthread
# The test compiles, but these boards have too little RAM for
# dynamic allocation of thread stacks
BOARD_BLACKLIST := arduino-nano arduino-duemilanove \
arduino-uno nucleo-f031k6 stm32f030f4-demo
include $(RIOTBASE)/Makefile.include

View File

@ -6,6 +6,11 @@ ifneq (,$(filter nucleo-f303k8,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
endif
# The test compiles, but these boards have too little RAM for
# dynamic allocation of thread stacks
BOARD_BLACKLIST := arduino-nano arduino-duemilanove \
arduino-uno nucleo-f031k6 stm32f030f4-demo
USEMODULE += posix_headers
USEMODULE += pthread

View File

@ -3,4 +3,9 @@ include ../Makefile.tests_common
USEMODULE += posix_headers
USEMODULE += pthread
# The test compiles, but these boards have too little RAM for
# dynamic allocation of thread stacks
BOARD_BLACKLIST := arduino-nano arduino-duemilanove \
arduino-uno nucleo-f031k6 stm32f030f4-demo
include $(RIOTBASE)/Makefile.include