From 112b88f7ee2acd6f9da4025e049f2ecd1341ef1f Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 24 May 2019 09:49:25 +0200 Subject: [PATCH] tests/periph_timer: Set freq for Arudino Leonardo The Arduino Leonardo requires - like the other ATmega based Arduinos - a different frequency than the default 1000000, as this frequency cannot be achieved on a 16MHz ATmega with any available prescaler. --- tests/periph_timer/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/periph_timer/Makefile b/tests/periph_timer/Makefile index a55eb00938..fc08bbb6e8 100644 --- a/tests/periph_timer/Makefile +++ b/tests/periph_timer/Makefile @@ -6,7 +6,7 @@ FEATURES_REQUIRED = periph_timer TEST_ON_CI_WHITELIST += all -ifneq (,$(filter arduino-duemilanove arduino-mega2560 arduino-uno waspmote-pro,$(BOARD))) +ifneq (,$(filter arduino-duemilanove arduino-leonardo arduino-mega2560 arduino-uno waspmote-pro,$(BOARD))) TIMER_SPEED ?= 250000 else ifneq (,$(filter hifive1 %-kw41z,$(BOARD))) TIMER_SPEED ?= 32768