Skip to content

Commit

Permalink
cpu/kinetis: Include CPU information in Makefile.features
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrolanzieri committed Jun 16, 2020
1 parent 649017f commit 5dc2988
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions cpu/kinetis/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions cpu/kinetis/Makefile.include
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 5dc2988

Please sign in to comment.