2015-05-26 20:54:09 +02:00
|
|
|
# define the CPU architecture for the k60
|
|
|
|
export CPU_ARCH = cortex-m4
|
|
|
|
|
2014-08-24 16:05:56 +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
|
|
|
|
|
2015-05-27 22:44:59 +02:00
|
|
|
# this CPU implementation is using kinetis common startup
|
|
|
|
export COMMON_STARTUP = $(KINETIS_COMMON)
|
2014-08-24 16:05:56 +02:00
|
|
|
|
|
|
|
# add the CPU specific system calls implementations for the linker
|
2016-10-18 23:27:59 +02:00
|
|
|
export UNDEF += $(BINDIR)/cpu/vectors.o
|
|
|
|
export UNDEF += $(BINDIR)/cpu/ssp.o
|
2015-05-27 22:44:59 +02:00
|
|
|
|
|
|
|
include $(RIOTCPU)/Makefile.include.cortexm_common
|