2020-05-03 14:35:01 +02:00
|
|
|
# All stm32 families provide pm support
|
|
|
|
USEMODULE += pm_layered
|
|
|
|
|
2020-05-22 17:12:11 +02:00
|
|
|
# include stm32 common periph drivers, clock configurations and vectors
|
|
|
|
USEMODULE += periph stm32_clk stm32_vectors
|
2020-05-03 14:35:01 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter periph_usbdev,$(FEATURES_USED)))
|
|
|
|
USEMODULE += xtimer
|
|
|
|
endif
|
|
|
|
|
2020-05-22 21:35:53 +02:00
|
|
|
ifneq (,$(filter bootloader_stm32,$(FEATURES_USED)))
|
|
|
|
USEMODULE += bootloader_stm32
|
|
|
|
endif
|
|
|
|
|
2020-06-10 15:44:58 +02:00
|
|
|
ifneq (,$(filter periph_uart_nonblocking,$(USEMODULE)))
|
|
|
|
USEMODULE += tsrb
|
|
|
|
endif
|
|
|
|
|
2020-07-26 22:05:18 +02:00
|
|
|
ifneq (,$(filter stm32_eth,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_eth
|
|
|
|
USEMODULE += netdev_eth
|
|
|
|
USEMODULE += iolist
|
|
|
|
USEMODULE += luid
|
2020-08-03 14:31:46 +02:00
|
|
|
USEMODULE += xtimer
|
2020-07-26 22:05:18 +02:00
|
|
|
endif
|
|
|
|
|
2020-05-03 14:35:01 +02:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|