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:
parent
8f3d1eaf04
commit
b5906c2aa4
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user