1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 18:12:45 +01:00
RIOT/tests/periph_timer/Makefile
2019-07-19 13:25:18 -07:00

17 lines
416 B
Makefile

include ../Makefile.tests_common
FEATURES_REQUIRED = periph_timer
TEST_ON_CI_WHITELIST += all
ifneq (,$(filter arduino-duemilanove arduino-leonardo arduino-mega2560 arduino-uno waspmote-pro,$(BOARD)))
TIMER_SPEED ?= 250000
else ifneq (,$(filter hifive1 hifive1b %-kw41z,$(BOARD)))
TIMER_SPEED ?= 32768
endif
TIMER_SPEED ?= 1000000
CFLAGS += -DTIMER_SPEED=$(TIMER_SPEED)
include $(RIOTBASE)/Makefile.include