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
Benjamin Valentin 9c1455d55f cpu: make pm_layered a DEFAULT_MODULE
Allow to disable pm_layered in the bootloader to save some ROM.
2021-01-27 13:21:20 +01:00

29 lines
662 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
ifneq (,$(filter efm32_coretemp,$(USEMODULE)))
FEATURES_REQUIRED += periph_adc
endif
# 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