2020-05-22 17:12:11 +02:00
|
|
|
MODULE = stm32_clk
|
|
|
|
|
|
|
|
SRC = stmclk_common.c
|
|
|
|
|
2020-08-30 16:48:58 +02:00
|
|
|
ifneq (,$(filter-out f0,$(filter f%,$(CPU_FAM))))
|
2020-05-22 17:12:11 +02:00
|
|
|
SRC += stmclk_fx.c
|
2020-08-30 16:48:58 +02:00
|
|
|
else ifneq (,$(filter $(CPU_FAM),f0))
|
|
|
|
SRC += stmclk_f0.c
|
2020-05-26 11:12:06 +02:00
|
|
|
else ifneq (,$(filter $(CPU_FAM),l0 l1))
|
2020-05-22 17:12:11 +02:00
|
|
|
SRC += stmclk_l0l1.c
|
2020-05-26 11:12:06 +02:00
|
|
|
else ifneq (,$(filter $(CPU_FAM),l4 wb))
|
2020-05-22 17:12:11 +02:00
|
|
|
SRC += stmclk_l4wb.c
|
2020-05-03 22:22:10 +02:00
|
|
|
else ifneq (,$(filter $(CPU_FAM),g0 g4))
|
|
|
|
SRC += stmclk_gx.c
|
2020-05-22 17:12:11 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.base
|