1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/sam0_common/Makefile.dep
Benjamin Valentin 83a56ae666 cpu/sam0_common: merge RTC & RTT implementation
The RTC and RTT share the same peripheral, so they can also
share the same code.

This is needed to integrate the Tamper Detection into common
RTC/RTT code.
2020-07-31 22:00:09 +02:00

16 lines
349 B
Makefile

ifneq (,$(filter periph_uart_nonblocking,$(USEMODULE)))
USEMODULE += tsrb
endif
ifneq (,$(filter periph_rtc periph_rtt,$(USEMODULE)))
USEMODULE += periph_rtc_rtt
endif
# All SAM0 based CPUs provide PM
USEMODULE += pm_layered
# include sam0 common periph drivers
USEMODULE += sam0_common_periph
include $(RIOTCPU)/cortexm_common/Makefile.dep