2015-09-04 14:38:37 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
FEATURES_REQUIRED = periph_timer
|
|
|
|
|
2019-05-24 09:49:25 +02:00
|
|
|
ifneq (,$(filter arduino-duemilanove arduino-leonardo arduino-mega2560 arduino-uno waspmote-pro,$(BOARD)))
|
2018-11-29 16:25:06 +01:00
|
|
|
TIMER_SPEED ?= 250000
|
2019-06-25 19:17:36 +02:00
|
|
|
else ifneq (,$(filter hifive1 hifive1b %-kw41z,$(BOARD)))
|
2019-02-21 11:01:29 +01:00
|
|
|
TIMER_SPEED ?= 32768
|
2018-11-29 16:25:06 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
TIMER_SPEED ?= 1000000
|
|
|
|
|
|
|
|
CFLAGS += -DTIMER_SPEED=$(TIMER_SPEED)
|
2015-09-04 14:38:37 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|