2017-10-27 01:26:26 +02:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
2019-05-02 15:32:17 +02:00
|
|
|
|
|
|
|
# HACK Do not define 'hwrng' if the board does not supports it
|
|
|
|
# A whitelist on CPU_MODEL would be better but this information/variable is not
|
|
|
|
# available yet.
|
|
|
|
# TRNG driver is not implemented for 'CPU_MODEL == mkw41z512vht4'
|
|
|
|
_KINETIS_BOARDS_WITHOUT_HWRNG += frdm-kw41z phynode-kw41z usb-kw41z
|
|
|
|
# No HWRNG in MK20D7 devices
|
|
|
|
_KINETIS_BOARDS_WITHOUT_HWRNG += teensy31
|
|
|
|
ifneq (,$(filter-out $(_KINETIS_BOARDS_WITHOUT_HWRNG),$(BOARD)))
|
|
|
|
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
|
2018-07-31 18:08:07 +02:00
|
|
|
ifeq (EA,$(KINETIS_SERIES))
|
|
|
|
FEATURES_PROVIDED += periph_ics
|
|
|
|
else
|
2018-06-30 19:12:47 +02: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
|