2015-05-23 09:38:41 +02:00
|
|
|
# define the CPU architecture for the k64f
|
|
|
|
export CPU_ARCH = cortex-m4
|
2017-05-01 11:18:00 +02:00
|
|
|
export CPU_FAMILY = kx
|
2015-05-23 09:38:41 +02:00
|
|
|
|
2017-05-26 16:07:48 +02:00
|
|
|
# map CPU models to generic Kinetis linkerscript
|
|
|
|
LD_MK64FN1M0VLL12 = kinetis_f1024l64u192.ld
|
|
|
|
|
2015-05-23 09:38:41 +02:00
|
|
|
# tell the build system that the CPU depends on the Kinetis common files
|
|
|
|
export USEMODULE += kinetis_common
|
|
|
|
|
|
|
|
# define path to kinetis module, which is needed for this CPU
|
|
|
|
export KINETIS_COMMON = $(RIOTCPU)/kinetis_common/
|
|
|
|
# CPU depends on the kinetis module, so include it
|
|
|
|
include $(KINETIS_COMMON)Makefile.include
|
|
|
|
|
|
|
|
# this CPU implementation is using kinetis common startup
|
|
|
|
export COMMON_STARTUP = $(KINETIS_COMMON)
|
|
|
|
|
|
|
|
# add the CPU specific system calls implementations for the linker
|
2016-10-18 23:27:59 +02:00
|
|
|
export UNDEF += $(BINDIR)/cpu/vectors.o
|
2015-05-23 09:38:41 +02:00
|
|
|
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/arch/cortexm.inc.mk
|