2017-11-13 16:08:08 +01:00
|
|
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
2017-11-29 19:50:50 +01:00
|
|
|
USEMODULE += periph_rtc_series$(EFM32_SERIES)
|
2017-11-13 16:08:08 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter periph_rtt,$(USEMODULE)))
|
2017-11-29 19:50:50 +01:00
|
|
|
USEMODULE += periph_rtt_series$(EFM32_SERIES)
|
2017-11-13 16:08:08 +01:00
|
|
|
endif
|
2019-12-07 17:13:41 +01:00
|
|
|
|
|
|
|
# include Gecko SDK package
|
|
|
|
USEPKG += gecko_sdk
|
|
|
|
|
|
|
|
# include layered power management
|
|
|
|
USEMODULE += pm_layered
|
2020-01-21 22:32:47 +01:00
|
|
|
|
|
|
|
# CMSIS-DSP is needed for arm_math.h on Cortex-M0+ architectures
|
|
|
|
ifeq ($(CPU_ARCH),cortex-m0plus)
|
|
|
|
USEPKG += cmsis-dsp
|
|
|
|
endif
|
|
|
|
|
|
|
|
# include CPU family module
|
|
|
|
USEMODULE += cpu_$(CPU_FAM)
|