2020-04-10 14:26:17 +02:00
|
|
|
# In some cases, peripheral modules use vendor provided driver modules such as
|
|
|
|
# the vendor_fsl_clock. This file defines the dependencies between these periph
|
|
|
|
# modules and the vendor modules.
|
|
|
|
USEMODULE += vendor
|
|
|
|
|
|
|
|
# The clock functionality is used by most modules, including cpu.c even when
|
|
|
|
# no peripheral module is being used.
|
|
|
|
USEMODULE += vendor_fsl_clock
|
|
|
|
|
|
|
|
# All peripherals use gpio_mux.h
|
|
|
|
USEMODULE += periph_gpio_mux
|
|
|
|
|
2021-11-29 13:14:43 +01:00
|
|
|
ifneq (,$(filter periph_uart periph_i2c periph_spi,$(USEMODULE)))
|
2020-04-12 00:13:44 +02:00
|
|
|
USEMODULE += periph_flexcomm
|
|
|
|
endif
|
2020-04-10 14:26:17 +02:00
|
|
|
|
2021-12-02 13:59:42 +01:00
|
|
|
ifneq (,$(filter periph_adc,$(USEMODULE)))
|
|
|
|
USEMODULE += ztimer
|
|
|
|
USEMODULE += ztimer_usec
|
|
|
|
endif
|
|
|
|
|
2020-04-10 14:26:17 +02:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|