cpu/efm32: Fix 'cpu' module name conflict
Rename 'cpu/efm32/families/efr32mg1p' module to 'cpu_efr32mg1p' to don't conflict with 'cpu'. Also required to set the path to vectors.o as its not provided by cpu.
This commit is contained in:
parent
a3bc341878
commit
f7046f83fb
@ -14,6 +14,12 @@ ifeq ($(CPU_ARCH),cortex-m0plus)
|
|||||||
USEPKG += cmsis-dsp
|
USEPKG += cmsis-dsp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# include CPU family module
|
||||||
|
USEMODULE += cpu_$(EFM32_FAMILY)
|
||||||
|
|
||||||
|
# vectors.o is provided by 'cpu_$(EFM32_FAMILY)' and not by 'cpu'
|
||||||
|
VECTORS_O := $(BINDIR)/cpu_$(EFM32_FAMILY)/vectors.o
|
||||||
|
|
||||||
# include common periph module
|
# include common periph module
|
||||||
USEMODULE += periph_common
|
USEMODULE += periph_common
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
MODULE = cpu
|
MODULE = cpu_efr32mg1p
|
||||||
|
|
||||||
# (file triggers compiler bug. see #5775)
|
# (file triggers compiler bug. see #5775)
|
||||||
SRC_NOLTO += vectors.c
|
SRC_NOLTO += vectors.c
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user