1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/kinetis/Makefile.dep

26 lines
729 B
Makefile
Raw Normal View History

2021-06-11 18:00:16 +02:00
ifneq (,$(filter periph_rtt,$(USEMODULE)))
USEMODULE += periph_timer
endif
2018-06-04 09:13:09 +02:00
ifneq (,$(filter periph_i2c,$(USEMODULE)))
USEMODULE += core_thread_flags
endif
# select kinetis periph drivers
# As FEATURES_PROVIDED cannot be checked directly, add both to FEATURES_OPTIONAL
# and check FEATURES_USED instead.
FEATURES_OPTIONAL += periph_ics
FEATURES_OPTIONAL += periph_mcg
FEATURES_OPTIONAL += periph_mcg_lite
ifneq (,$(filter periph_ics,$(FEATURES_USED)))
USEMODULE += periph_ics
else ifneq (,$(filter periph_mcg,$(FEATURES_USED)))
USEMODULE += periph_mcg
else ifneq (,$(filter periph_mcg_lite,$(FEATURES_USED)))
USEMODULE += periph_mcg_lite
endif
USEMODULE += periph_wdog
include $(RIOTCPU)/cortexm_common/Makefile.dep