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
|
|
|
|
|
2021-12-08 11:41:24 +01:00
|
|
|
ifneq (,$(filter periph_spi,$(USEMODULE)))
|
|
|
|
USEMODULE += periph_spi_gpio_mode
|
|
|
|
endif
|
|
|
|
|
2023-09-14 13:00:54 +02:00
|
|
|
ifneq (,$(filter periph_sdmmc,$(USEMODULE)))
|
|
|
|
USEMODULE += sdmmc_sdhc
|
|
|
|
endif
|
|
|
|
|
2019-12-07 16:47:11 +01:00
|
|
|
# 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)))
|
2022-08-09 14:58:36 +02:00
|
|
|
USEMODULE += iolist
|
2020-12-13 21:41:35 +01:00
|
|
|
USEMODULE += netdev_eth
|
2024-04-26 18:30:59 +02:00
|
|
|
USEMODULE += netdev_new_api
|
2020-12-13 21:41:35 +01:00
|
|
|
USEMODULE += netopt
|
|
|
|
FEATURES_REQUIRED += periph_eth
|
2023-06-02 16:57:33 +02:00
|
|
|
FEATURES_REQUIRED += periph_gpio_irq
|
2020-12-13 21:41:35 +01:00
|
|
|
endif
|
2020-03-27 02:30:11 +01:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|