From b91618cc0ac050d33c8541c5ff4df21eec7a6937 Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Mon, 14 Sep 2015 21:36:54 +0000 Subject: [KINETIS] Fixed I2C hal test build git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8298 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/KINETIS/I2C/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/testhal/KINETIS/I2C/Makefile b/testhal/KINETIS/I2C/Makefile index db19ef2f4..1b5e5fb21 100644 --- a/testhal/KINETIS/I2C/Makefile +++ b/testhal/KINETIS/I2C/Makefile @@ -83,24 +83,24 @@ PROJECT = ch # Imported source files and paths CHIBIOS = ../../.. +include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/startup_k20x.mk include $(CHIBIOS)/os/hal/hal.mk -include $(CHIBIOS)/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.mk include $(CHIBIOS)/os/hal/ports/KINETIS/K20x/platform.mk +include $(CHIBIOS)/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.mk include $(CHIBIOS)/os/hal/osal/rt/osal.mk include $(CHIBIOS)/os/rt/rt.mk -include $(CHIBIOS)/os/rt/ports/ARMCMx/compilers/GCC/mk/port_k20x.mk -#include $(CHIBIOS)/test/rt/test.mk +include $(CHIBIOS)/os/rt/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk # Define linker script file here -LDSCRIPT= $(PORTLD)/MK20DX128.ld +LDSCRIPT= $(STARTUPLD)/MK20DX128.ld # C sources that can be compiled in ARM or THUMB mode depending on the global # setting. -CSRC = $(PORTSRC) \ +CSRC = $(STARTUPSRC) \ $(KERNSRC) \ - $(TESTSRC) \ - $(HALSRC) \ + $(PORTSRC) \ $(OSALSRC) \ + $(HALSRC) \ $(PLATFORMSRC) \ $(BOARDSRC) \ main.c @@ -130,10 +130,10 @@ TCSRC = TCPPSRC = # List ASM source files here -ASMSRC = $(PORTASM) +ASMSRC = $(STARTUPASM) $(PORTASM) $(OSALASM) -INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \ - $(HALINC) $(OSALINC) $(PLATFORMINC) $(BOARDINC) \ +INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \ + $(HALINC) $(PLATFORMINC) $(BOARDINC) \ $(CHIBIOS)/os/various # -- cgit v1.2.3