2017-02-16 10:51:04 +01:00
|
|
|
BOARD ?= samr21-xpro
|
2014-08-22 00:42:04 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2014-10-16 19:24:02 +02:00
|
|
|
FEATURES_REQUIRED = periph_rtt
|
2021-03-03 17:08:30 +01:00
|
|
|
FEATURES_OPTIONAL += periph_rtt_set_counter
|
2014-08-22 00:42:04 +02:00
|
|
|
|
2020-02-28 17:19:38 +01:00
|
|
|
DISABLE_MODULE += periph_init_rtt
|
2014-08-22 00:42:04 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
2020-04-20 16:19:03 +02:00
|
|
|
|
|
|
|
# Put board specific dependencies here
|
2020-05-30 19:07:50 +02:00
|
|
|
ifeq (stm32,$(CPU))
|
|
|
|
ifneq (f1,$(CPU_FAM))
|
|
|
|
# all stm32% but stm32f1 RTT are based on a 16 bit LPTIM, if using the default
|
|
|
|
# 32768KHz configuration TICKS_TO_WAIT will overflow
|
|
|
|
RTT_FREQUENCY ?= 1024
|
|
|
|
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
|
|
|
|
endif
|
2020-04-20 16:19:03 +02:00
|
|
|
endif
|