mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
c3e29bb1fa
As stm32mp1 clocks are not configured like for other stm32, do not use stmclk_common.c Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
24 lines
557 B
Makefile
24 lines
557 B
Makefile
MODULE = stm32_clk
|
|
|
|
ifneq (mp1,$(CPU_FAM))
|
|
SRC = stmclk_common.c
|
|
endif
|
|
|
|
ifneq (,$(filter $(CPU_FAM),f2 f4 f7))
|
|
SRC += stmclk_f2f4f7.c
|
|
else ifneq (,$(filter $(CPU_FAM),f0 f1 f3))
|
|
SRC += stmclk_f0f1f3.c
|
|
else ifneq (,$(filter $(CPU_FAM),l0 l1))
|
|
SRC += stmclk_l0l1.c
|
|
else ifneq (,$(filter $(CPU_FAM),l4 wb))
|
|
SRC += stmclk_l4wb.c
|
|
else ifneq (,$(filter $(CPU_FAM),l5))
|
|
SRC += stmclk_l5.c
|
|
else ifneq (,$(filter $(CPU_FAM),g0 g4))
|
|
SRC += stmclk_gx.c
|
|
else ifneq (,$(filter $(CPU_FAM),mp1))
|
|
SRC = stmclk_mp1.c
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|