2020-05-26 14:35:43 +02:00
|
|
|
BOARD ?= samr21-xpro
|
2023-05-05 10:26:35 +02:00
|
|
|
include ../Makefile.periph_common
|
2020-05-26 14:35:43 +02:00
|
|
|
|
|
|
|
USEMODULE += xtimer
|
|
|
|
|
|
|
|
FEATURES_REQUIRED += periph_rtt
|
|
|
|
DISABLE_MODULE += periph_init_rtt
|
|
|
|
|
2020-09-01 22:25:37 +02:00
|
|
|
RIOT_TERMINAL ?= socat
|
2020-05-26 14:35:43 +02:00
|
|
|
|
2022-04-01 12:21:20 +02:00
|
|
|
# microbit qemu lacks rtt
|
|
|
|
TEST_ON_CI_BLACKLIST += microbit
|
|
|
|
|
2020-05-26 14:35:43 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
|
|
|
|
# use highest possible RTT_FREQUENCY for boards that allow it
|
2021-12-14 13:17:19 +01:00
|
|
|
ifneq (,$(filter stm32 nrf5% sam% kinetis efm32 fe310,$(CPU)))
|
2020-05-26 14:35:43 +02:00
|
|
|
RTT_FREQUENCY ?= RTT_MAX_FREQUENCY
|
|
|
|
CFLAGS += -DRTT_FREQUENCY=$(RTT_FREQUENCY)
|
|
|
|
endif
|
2020-09-01 22:25:37 +02:00
|
|
|
|
2021-12-14 13:17:19 +01:00
|
|
|
SAMPLES ?= 1024
|
2020-09-01 22:25:37 +02:00
|
|
|
CFLAGS += -DSAMPLES=$(SAMPLES)
|