mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7913811a0f
By default the periph_timer tests wants to init all timers with 1MHz, which is not suitable for all timers, e.g. the atmega timers cannot run at that speed to make the test work they need to be set to 250kHz.
17 lines
380 B
Makefile
17 lines
380 B
Makefile
include ../Makefile.tests_common
|
|
|
|
BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove 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
|
|
endif
|
|
|
|
TIMER_SPEED ?= 1000000
|
|
|
|
CFLAGS += -DTIMER_SPEED=$(TIMER_SPEED)
|
|
include $(RIOTBASE)/Makefile.include
|