mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
23 lines
602 B
Makefile
23 lines
602 B
Makefile
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
|
USEMODULE += periph_rtt
|
|
endif
|
|
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
|
|
|
|
ifneq (,$(filter periph_ics,$(FEATURES_USED)))
|
|
USEMODULE += periph_ics
|
|
else ifneq (,$(filter periph_mcg,$(FEATURES_USED)))
|
|
USEMODULE += periph_mcg
|
|
endif
|
|
|
|
USEMODULE += periph_wdog
|
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|