1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/pkg_mbedtls/Makefile
Benjamin Valentin 3c6241b8f4 tests/pkg_mbedtls-blacklist: blacklist samr21-xpro
The ENTROPY test always fails on this board

main(): This is RIOT! (Version: buildtest)
mbedtls test

  SHA-224 test #1: passed
  SHA-224 test #2: passed
  SHA-224 test #3: passed
  SHA-256 test #1: passed
  SHA-256 test #2: passed
  SHA-256 test #3: passed

  ENTROPY test: failed
2022-01-28 17:48:02 +01:00

25 lines
797 B
Makefile

include ../Makefile.tests_common
USEPKG += mbedtls
USEMODULE += mbedtls_entropy
# entropy test keeps failing on this board due to low entropy
TEST_ON_CI_BLACKLIST += samr21-xpro
# Increase stack size of main thread.
CFLAGS += -DTHREAD_STACKSIZE_MAIN=THREAD_STACKSIZE_LARGE
# You can disable single entropy source to be used with the entropy module
# DISABLE_MODULE += mbedtls_entropy_source_hwrng
include $(RIOTBASE)/Makefile.include
ifneq (,$(filter mbedtls_entropy_source_adc,$(USEMODULE)))
ifndef CONFIG_KCONFIG_USEMODULE_ENTROPY_SOURCE_ADC_NOISE
# This is an exemplary entropy value of 1 bit/sample provided by
# the ADC noise source. To avoid float, this value has to be
# multiplied by 65536 beforehand.
CFLAGS += -DCONFIG_ENTROPY_SOURCE_ADC_HMIN=65536
endif
endif