From 9b03d459533a3164dae3f54c468c443f5dc5c545 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Tue, 14 Dec 2021 13:17:19 +0100 Subject: [PATCH] tests/periph_rtt_min: update CPUs with configurable rtt freq --- tests/periph_rtt_min/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/periph_rtt_min/Makefile b/tests/periph_rtt_min/Makefile index 894f3ac1ce..7a738aaed5 100644 --- a/tests/periph_rtt_min/Makefile +++ b/tests/periph_rtt_min/Makefile @@ -11,15 +11,10 @@ RIOT_TERMINAL ?= socat include $(RIOTBASE)/Makefile.include # use highest possible RTT_FREQUENCY for boards that allow it -ifneq (,$(filter stm32 nrf5%,$(CPU))) +ifneq (,$(filter stm32 nrf5% sam% kinetis efm32 fe310,$(CPU))) RTT_FREQUENCY ?= RTT_MAX_FREQUENCY CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY) endif -# kinetis rtt runs at 1Hz, reduce samples to speed up the test -ifneq (,$(filter kinetis,$(CPU))) - SAMPLES ?= 64 -else - SAMPLES ?= 1024 -endif +SAMPLES ?= 1024 CFLAGS += -DSAMPLES=$(SAMPLES)