1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

tests: fix tests for nucleo-f303k8

- Decrease default stack size for pthread_cooperation and
  cp11_condition_variable
- Reduce number of problems for thread cooperation and remove
  from insufficient memory list
This commit is contained in:
Francisco Molina 2019-08-06 10:32:35 +02:00
parent e589cfbf6c
commit ce300ca6fd
3 changed files with 16 additions and 1 deletions

View File

@ -13,6 +13,12 @@ BOARD_INSUFFICIENT_MEMORY := i-nucleo-lrwan1 nucleo-f334r8 spark-core \
# to CXXEXFLAGS variable
CXXEXFLAGS += -std=c++11
# nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack
# size for every thread
ifneq (,$(filter nucleo-f303k8,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
endif
USEMODULE += cpp11-compat
USEMODULE += xtimer
USEMODULE += timex

View File

@ -21,6 +21,12 @@ BOARD_INSUFFICIENT_MEMORY += \
waspmote-pro \
#
# nucleo-f303k8 doesn't have enough RAM to run the test so we reduce the stack
# size for every thread
ifneq (,$(filter nucleo-f303k8,$(BOARD)))
CFLAGS += -DTHREAD_STACKSIZE_DEFAULT=512
endif
USEMODULE += posix_headers
USEMODULE += pthread

View File

@ -2,7 +2,7 @@ include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-leonardo arduino-nano \
arduino-uno chronos i-nucleo-lrwan1 msb-430 \
msb-430h nucleo-f031k6 nucleo-f303k8 stm32l0538-disco
msb-430h nucleo-f031k6 stm32l0538-disco
DISABLE_MODULE += auto_init
@ -12,6 +12,9 @@ endif
ifneq (,$(filter nucleo-f030r8 nucleo-l031k6 nucleo-l053r8 stm32f0discovery stm32l0538-disco,$(BOARD)))
PROBLEM ?= 5
endif
ifneq (,$(filter nucleo-f303k8,$(BOARD)))
PROBLEM ?= 7
endif
ifneq (,$(filter nucleo-f334r8,$(BOARD)))
PROBLEM ?= 9
endif