1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 23:41:18 +01:00

Merge pull request #11969 from fjmolinas/pr_nucleo_f303k8_tests

tests: fix tests for nucleo-f303k8
This commit is contained in:
Alexandre Abadie 2019-09-25 13:43:10 +02:00 committed by GitHub
commit 0170d1c5da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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