2019-08-20 20:52:07 +02:00
|
|
|
ifneq (,$(filter periph_uart_nonblocking,$(USEMODULE)))
|
|
|
|
USEMODULE += tsrb
|
|
|
|
endif
|
2019-12-07 16:47:11 +01:00
|
|
|
|
2020-06-11 17:49:31 +02:00
|
|
|
ifneq (,$(filter periph_rtc periph_rtt,$(USEMODULE)))
|
|
|
|
USEMODULE += periph_rtc_rtt
|
|
|
|
endif
|
|
|
|
|
2019-12-07 16:47:11 +01:00
|
|
|
# All SAM0 based CPUs provide PM
|
|
|
|
USEMODULE += pm_layered
|
|
|
|
|
|
|
|
# include sam0 common periph drivers
|
|
|
|
USEMODULE += sam0_common_periph
|
2020-03-27 02:30:11 +01:00
|
|
|
|
2020-12-13 21:41:35 +01:00
|
|
|
ifneq (,$(filter sam0_eth,$(USEMODULE)))
|
|
|
|
USEMODULE += netdev_eth
|
|
|
|
USEMODULE += netopt
|
|
|
|
USEMODULE += xtimer
|
|
|
|
USEMODULE += iolist
|
|
|
|
FEATURES_REQUIRED += periph_eth
|
|
|
|
endif
|
2020-03-27 02:30:11 +01:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|