mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 23:41:18 +01:00
cpu/stm32: move all dependencies to Makefile.dep
This commit is contained in:
parent
d5a5b18da3
commit
a32c1074ad
5
cpu/stm32_common/Makefile.dep
Normal file
5
cpu/stm32_common/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
||||
# All stm32 families provide pm support
|
||||
USEMODULE += pm_layered
|
||||
|
||||
# include stm32 common functions and stm32 common periph drivers
|
||||
USEMODULE += stm32_common stm32_common_periph
|
||||
@ -1,11 +1,5 @@
|
||||
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
|
||||
|
||||
# All stm32 families provide pm support
|
||||
USEMODULE += pm_layered
|
||||
|
||||
# include stm32 common functions and stm32 common periph drivers
|
||||
USEMODULE += stm32_common stm32_common_periph
|
||||
|
||||
# For stm32 cpu's we use the stm32_common.ld linker script
|
||||
LINKFLAGS += -L$(RIOTCPU)/stm32_common/ldscripts
|
||||
LINKER_SCRIPT ?= stm32_common.ld
|
||||
|
||||
1
cpu/stm32f0/Makefile.dep
Normal file
1
cpu/stm32f0/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32f1/Makefile.dep
Normal file
1
cpu/stm32f1/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32f2/Makefile.dep
Normal file
1
cpu/stm32f2/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32f3/Makefile.dep
Normal file
1
cpu/stm32f3/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32f4/Makefile.dep
Normal file
1
cpu/stm32f4/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32f7/Makefile.dep
Normal file
1
cpu/stm32f7/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32l0/Makefile.dep
Normal file
1
cpu/stm32l0/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32l1/Makefile.dep
Normal file
1
cpu/stm32l1/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
1
cpu/stm32l4/Makefile.dep
Normal file
1
cpu/stm32l4/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTCPU)/stm32_common/Makefile.dep
|
||||
Loading…
x
Reference in New Issue
Block a user