2017-10-27 01:26:26 +02:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
2020-03-27 23:41:49 +01:00
|
|
|
FEATURES_PROVIDED += periph_pm
|
2023-05-03 18:03:33 +02:00
|
|
|
FEATURES_PROVIDED += periph_timer_query_freqs
|
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
|
2018-04-24 18:50:34 +02:00
|
|
|
# TRNG driver is not implemented for kl43z models
|
|
|
|
_KINETIS_CPU_MODELS_WITHOUT_HWRNG += mkl43z%
|
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
|
|
|
|
2020-07-01 14:07:42 +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
|
|
|
|
2020-07-01 14:07:42 +02:00
|
|
|
ifneq (,$(filter k w,$(CPU_FAM)))
|
2019-04-17 17:03:52 +02:00
|
|
|
FEATURES_PROVIDED += periph_flashpage
|
2022-03-17 19:45:54 +01:00
|
|
|
FEATURES_PROVIDED += periph_flashpage_in_address_space
|
2020-11-09 16:44:06 +01:00
|
|
|
FEATURES_PROVIDED += periph_flashpage_pagewise
|
2019-04-17 17:03:52 +02:00
|
|
|
endif
|
|
|
|
|
2020-07-01 14:07:42 +02:00
|
|
|
ifeq (ea,$(CPU_FAM))
|
|
|
|
FEATURES_PROVIDED += periph_ics
|
2018-04-24 18:36:22 +02:00
|
|
|
else ifeq (l,$(CPU_FAM))
|
|
|
|
FEATURES_PROVIDED += periph_mcg_lite
|
2020-07-01 14:07:42 +02:00
|
|
|
else
|
|
|
|
FEATURES_PROVIDED += periph_mcg
|
|
|
|
endif
|
2020-06-10 14:10:01 +02:00
|
|
|
|
2017-10-27 01:26:26 +02:00
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.features
|