2017-11-29 19:50:50 +01:00
|
|
|
MODULE = cpu
|
2017-11-13 16:08:08 +01:00
|
|
|
|
|
|
|
# add a list of subdirectories, that should also be build
|
2020-02-11 22:19:15 +01:00
|
|
|
DIRS += periph
|
|
|
|
DIRS += $(RIOTCPU)/cortexm_common
|
|
|
|
|
|
|
|
ifneq (,$(filter cpu_efm32gg,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32gg
|
|
|
|
endif
|
2023-08-15 01:05:55 +02:00
|
|
|
ifneq (,$(filter cpu_efm32gg11b,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32gg11b
|
|
|
|
endif
|
2022-10-17 00:20:40 +02:00
|
|
|
ifneq (,$(filter cpu_efm32gg12b,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32gg12b
|
|
|
|
endif
|
2020-06-29 01:15:08 +02:00
|
|
|
ifneq (,$(filter cpu_efm32hg,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32hg
|
|
|
|
endif
|
2020-02-11 22:19:15 +01:00
|
|
|
ifneq (,$(filter cpu_efm32lg,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32lg
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter cpu_efm32pg1b,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32pg1b
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter cpu_efm32pg12b,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32pg12b
|
|
|
|
endif
|
2018-03-25 19:18:22 +02:00
|
|
|
ifneq (,$(filter cpu_efm32zg,$(USEMODULE)))
|
|
|
|
DIRS += families/efm32zg
|
|
|
|
endif
|
2020-11-21 00:53:06 +01:00
|
|
|
ifneq (,$(filter cpu_efr32mg1b,$(USEMODULE)))
|
|
|
|
DIRS += families/efr32mg1b
|
|
|
|
endif
|
2020-02-11 22:19:15 +01:00
|
|
|
ifneq (,$(filter cpu_efr32mg1p,$(USEMODULE)))
|
|
|
|
DIRS += families/efr32mg1p
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter cpu_efr32mg12p,$(USEMODULE)))
|
|
|
|
DIRS += families/efr32mg12p
|
|
|
|
endif
|
2022-10-17 22:52:06 +02:00
|
|
|
ifneq (,$(filter cpu_efr32zg23,$(USEMODULE)))
|
|
|
|
DIRS += families/efr32zg23
|
|
|
|
endif
|
2020-10-26 20:02:14 +01:00
|
|
|
ifneq (,$(filter cpu_ezr32wg,$(USEMODULE)))
|
|
|
|
DIRS += families/ezr32wg
|
|
|
|
endif
|
2017-11-13 16:08:08 +01:00
|
|
|
|
2020-01-08 00:44:48 +01:00
|
|
|
# add EFM32 specific drivers, if enabled
|
|
|
|
ifneq (,$(filter efm32_coretemp,$(USEMODULE)))
|
|
|
|
DIRS += drivers/coretemp
|
|
|
|
endif
|
|
|
|
|
2017-11-13 16:08:08 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|