1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/efm32/Makefile.dep
2020-10-07 09:01:41 +02:00

28 lines
634 B
Makefile

ifneq (,$(filter periph_rtc,$(USEMODULE)))
USEMODULE += periph_rtc_series$(EFM32_SERIES)
endif
ifneq (,$(filter periph_rtt,$(USEMODULE)))
USEMODULE += periph_rtt_series$(EFM32_SERIES)
endif
ifneq (,$(filter periph_wdt,$(USEMODULE)))
USEMODULE += periph_wdt_series$(EFM32_SERIES)
endif
# include Gecko SDK package
USEPKG += gecko_sdk
# include layered power management
USEMODULE += pm_layered
# CMSIS-DSP is needed for arm_math.h on Cortex-M0+ architectures
ifeq ($(CPU_CORE),cortex-m0plus)
USEPKG += cmsis-dsp
endif
# include CPU family module
USEMODULE += cpu_$(CPU_FAM)
include $(RIOTCPU)/cortexm_common/Makefile.dep