From 5dc29886b38b73c9cce0bd29aee7070b9f5ff1bb Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 10 Jun 2020 14:10:01 +0200 Subject: [PATCH] cpu/kinetis: Include CPU information in Makefile.features --- cpu/kinetis/Makefile.features | 4 ++++ cpu/kinetis/Makefile.include | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/cpu/kinetis/Makefile.features b/cpu/kinetis/Makefile.features index f7f555e42089..9fc9cdecbe94 100644 --- a/cpu/kinetis/Makefile.features +++ b/cpu/kinetis/Makefile.features @@ -26,4 +26,8 @@ ifneq (,$(filter mkw% mk%,$(CPU_MODEL))) FEATURES_PROVIDED += periph_flashpage_raw endif +# Parse parameters from CPU_MODEL using the kinetis-info.mk script in the same +# directory as this Makefile. +include $(LAST_MAKEFILEDIR)/kinetis-info.mk + include $(RIOTCPU)/cortexm_common/Makefile.features diff --git a/cpu/kinetis/Makefile.include b/cpu/kinetis/Makefile.include index b757d470791b..ec612774cd3a 100644 --- a/cpu/kinetis/Makefile.include +++ b/cpu/kinetis/Makefile.include @@ -1,9 +1,3 @@ -ifeq (,$(KINETIS_SERIES)) - # Parse parameters from CPU_MODEL using the kinetis-info.mk script in the same - # directory as this Makefile. - include $(LAST_MAKEFILEDIR)/kinetis-info.mk -endif - # "The Vector table must be naturally aligned to a power of two whose alignment # value is greater than or equal to number of Exceptions supported x 4" # CPU_IRQ_NUMOF for KWxD and KxF boards is < 102+16 so (81*4 bytes = 472 bytes ~= 0x200)