2015-09-04 14:38:37 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2018-08-17 11:35:54 +02:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
|
|
|
|
|
2015-09-04 14:38:37 +02:00
|
|
|
FEATURES_REQUIRED = periph_timer
|
|
|
|
|
2018-04-04 15:20:51 +02:00
|
|
|
TEST_ON_CI_WHITELIST += all
|
|
|
|
|
2018-11-29 16:25:06 +01:00
|
|
|
ifneq (,$(filter arduino-duemilanove arduino-mega2560 arduino-uno waspmote-pro,$(BOARD)))
|
|
|
|
TIMER_SPEED ?= 250000
|
2019-02-21 11:01:29 +01:00
|
|
|
else ifneq (,$(filter hifive1,$(BOARD)))
|
|
|
|
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
|