1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 10:33:49 +01:00
PeterKietzmann 4a4b5e127a Revert "tests/pkg_mbedtls-blacklist: blacklist samr21-xpro"
This reverts commit 3c6241b8f4055fe6981236bf33d23e3e8278bf29.
2022-02-02 17:44:42 +01:00

22 lines
698 B
Makefile

include ../Makefile.tests_common
USEPKG += mbedtls
USEMODULE += mbedtls_entropy
# 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