2017-10-27 01:26:26 +02:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
2019-05-02 15:32:17 +02:00
|
|
|
|
2019-12-02 19:04:23 +01:00
|
|
|
# TRNG driver is not implemented for mkw41z512vht4 model
|
|
|
|
_KINETIS_CPU_MODELS_WITHOUT_HWRNG += mkw41z512vht4
|
|
|
|
# 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
|
|
|
|
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.features
|