From 3dbe468c145318f8e903a7cfd2bf653804254107 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 4 Sep 2020 13:48:59 +0200 Subject: [PATCH 1/2] features_modules: include puf_sram if used --- makefiles/features_modules.inc.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makefiles/features_modules.inc.mk b/makefiles/features_modules.inc.mk index 4ff401c1a0..38462db9ab 100644 --- a/makefiles/features_modules.inc.mk +++ b/makefiles/features_modules.inc.mk @@ -21,6 +21,9 @@ endif # select cpu_check_address pseudomodule if the corresponding feature is used USEMODULE += $(filter cpu_check_address, $(FEATURES_USED)) +# include puf_sram if used +USEMODULE += $(filter puf_sram, $(FEATURES_USED)) + # include periph_common if any periph_* driver is used ifneq (,$(filter periph_%, $(USEMODULE))) USEMODULE += periph_common From f8ee32a8e1d1a44f6d7e764f470da230b256f98f Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 4 Sep 2020 13:50:02 +0200 Subject: [PATCH 2/2] tests/puf_sram: use puf_sram as a feature --- tests/puf_sram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/puf_sram/Makefile b/tests/puf_sram/Makefile index 5ab039b749..49f346746e 100644 --- a/tests/puf_sram/Makefile +++ b/tests/puf_sram/Makefile @@ -2,7 +2,7 @@ BOARD ?= nucleo-f411re include ../Makefile.tests_common -USEMODULE += puf_sram +FEATURES_REQUIRED += puf_sram DISABLE_MODULE += test_utils_interactive_sync include $(RIOTBASE)/Makefile.include