2019-12-07 17:13:41 +01:00
|
|
|
# include Gecko SDK package
|
|
|
|
USEPKG += gecko_sdk
|
|
|
|
|
2020-01-08 00:44:48 +01:00
|
|
|
ifneq (,$(filter efm32_coretemp,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_adc
|
|
|
|
endif
|
|
|
|
|
2020-01-21 22:32:47 +01:00
|
|
|
# CMSIS-DSP is needed for arm_math.h on Cortex-M0+ architectures
|
2020-06-10 13:11:32 +02:00
|
|
|
ifeq ($(CPU_CORE),cortex-m0plus)
|
2023-05-14 21:18:50 +02:00
|
|
|
USEMODULE += cmsis-dsp
|
2020-01-21 22:32:47 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
# include CPU family module
|
|
|
|
USEMODULE += cpu_$(CPU_FAM)
|
2020-03-27 02:30:11 +01:00
|
|
|
|
2022-10-17 00:48:44 +02:00
|
|
|
ifneq (,$(filter periph_usbdev,$(USEMODULE)))
|
|
|
|
USEMODULE += usbdev_synopsys_dwc2
|
|
|
|
endif
|
|
|
|
|
2020-03-27 02:30:11 +01:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|