From 2c346387f6f4328d77b0708951d0cbbc48480c9b Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 1 Jun 2020 16:23:16 +0200 Subject: [PATCH] cpu/stm32/Makefile.features: capture whole family All members of the stm32f401* family (etc) don't have the HWRNG peripheral. Apply a broader wildcard so we don't have to touch this file when adding new boards with slightly different MCUs. --- cpu/stm32/Makefile.features | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/stm32/Makefile.features b/cpu/stm32/Makefile.features index 8fd5536585..570bcf3f04 100644 --- a/cpu/stm32/Makefile.features +++ b/cpu/stm32/Makefile.features @@ -24,7 +24,7 @@ ifeq (stm32f1,$(CPU_FAM)) endif # Not all F4 and L0 parts implement a RNG. -CPU_MODELS_WITHOUT_HWRNG = stm32f401re% stm32f411re% stm32f446re% stm32f446ze% stm32l031k6% +CPU_MODELS_WITHOUT_HWRNG = stm32f401% stm32f411% stm32f446% stm32l031% ifneq (,$(filter $(CPU_FAM),f2 f4 f7 l0 l4 wb)) ifeq (,$(filter $(CPU_MODELS_WITHOUT_HWRNG),$(CPU_MODEL))) FEATURES_PROVIDED += periph_hwrng