2017-10-27 01:26:26 +02:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
2020-03-27 23:41:49 +01:00
|
|
|
FEATURES_PROVIDED += periph_pm
|
2019-05-02 15:32:17 +02:00
|
|
|
|
2020-01-26 04:03:47 +01:00
|
|
|
# TRNG driver is not implemented for mkw41z models
|
|
|
|
_KINETIS_CPU_MODELS_WITHOUT_HWRNG += mkw41z256vht4 mkw41z512vht4
|
2019-12-02 19:04:23 +01:00
|
|
|
# No HWRNG in mk20d7 devices
|
|
|
|
_KINETIS_CPU_MODELS_WITHOUT_HWRNG += mk20dx256vlh7
|
|
|
|
|
|
|
|
ifneq (,$(filter-out $(_KINETIS_CPU_MODELS_WITHOUT_HWRNG),$(CPU_MODEL)))
|
2019-05-02 15:32:17 +02:00
|
|
|
FEATURES_PROVIDED += periph_hwrng
|
|
|
|
endif
|
|
|
|
|
2017-10-27 01:26:26 +02:00
|
|
|
FEATURES_PROVIDED += periph_gpio
|
2018-08-26 09:20:56 +02:00
|
|
|
FEATURES_PROVIDED += periph_gpio_irq
|
2019-12-02 19:04:23 +01:00
|
|
|
|
|
|
|
# This applies to all Kinetis EA series, for now this is only s9keaz128aclh48
|
|
|
|
ifeq (s9keaz128aclh48,$(CPU_MODEL))
|
|
|
|
FEATURES_PROVIDED += periph_ics
|
2018-07-31 18:08:07 +02:00
|
|
|
else
|
2019-12-02 19:04:23 +01:00
|
|
|
FEATURES_PROVIDED += periph_mcg
|
2018-07-31 18:08:07 +02:00
|
|
|
endif
|
2017-10-27 01:26:26 +02:00
|
|
|
|
2019-04-17 17:03:52 +02:00
|
|
|
# Since KINETIS_SERIES isn't available in Makefile.features filter according to
|
|
|
|
# CPU_MODEL
|
|
|
|
ifneq (,$(filter mkw% mk%,$(CPU_MODEL)))
|
|
|
|
FEATURES_PROVIDED += periph_flashpage
|
|
|
|
FEATURES_PROVIDED += periph_flashpage_raw
|
|
|
|
endif
|
|
|
|
|
2020-06-10 14:10:01 +02:00
|
|
|
# Parse parameters from CPU_MODEL using the kinetis-info.mk script in the same
|
|
|
|
# directory as this Makefile.
|
|
|
|
include $(LAST_MAKEFILEDIR)/kinetis-info.mk
|
|
|
|
|
2017-10-27 01:26:26 +02:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.features
|