1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/periph_timer/Makefile

19 lines
465 B
Makefile

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