# All stm32 families provide pm support USEMODULE += pm_layered # include stm32 common periph drivers, clock configurations and vectors USEMODULE += periph stm32_clk stm32_vectors ifneq (,$(filter periph_usbdev,$(FEATURES_USED))) USEMODULE += xtimer endif ifneq (,$(filter bootloader_stm32,$(FEATURES_USED))) USEMODULE += bootloader_stm32 endif ifneq (,$(filter periph_uart_nonblocking,$(USEMODULE))) USEMODULE += tsrb endif ifneq (STM32F030x4, $(CPU_LINE)) # Retrieve vendor CMSIS headers from ST cmsis_device_ repositories on # GitHub, https://github.com/STMicroelectronics USEPKG += stm32cmsis endif include $(RIOTCPU)/cortexm_common/Makefile.dep