diff options
author | Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-10-07 18:37:15 +0700 |
---|---|---|
committer | Konstantin K. Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-11-20 09:53:38 +0700 |
commit | a6bb21d05b4dd7299de9a632cf55bda7c058164e (patch) | |
tree | b293ac0e8a16a2c7560c43a4878272a1b725cc5d /testhal/KINETIS/FRDM-K20D50M/I2C/Makefile | |
parent | d921781a45a5e2f57e56bf59872e1d2aec2fb71f (diff) | |
download | ChibiOS-Contrib-a6bb21d05b4dd7299de9a632cf55bda7c058164e.tar.gz ChibiOS-Contrib-a6bb21d05b4dd7299de9a632cf55bda7c058164e.tar.bz2 ChibiOS-Contrib-a6bb21d05b4dd7299de9a632cf55bda7c058164e.zip |
KINETIS tests and demos updated to ChibiOS 18.2.x.
Diffstat (limited to 'testhal/KINETIS/FRDM-K20D50M/I2C/Makefile')
-rw-r--r-- | testhal/KINETIS/FRDM-K20D50M/I2C/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/testhal/KINETIS/FRDM-K20D50M/I2C/Makefile b/testhal/KINETIS/FRDM-K20D50M/I2C/Makefile index a4de448..e2ad0c8 100644 --- a/testhal/KINETIS/FRDM-K20D50M/I2C/Makefile +++ b/testhal/KINETIS/FRDM-K20D50M/I2C/Makefile @@ -89,6 +89,8 @@ PROJECT = ch # Imported source files and paths
CHIBIOS = ../../../../../ChibiOS-RT
CHIBIOS_CONTRIB = $(CHIBIOS)/../ChibiOS-Contrib
+# Licensing files.
+include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_k20x5.mk
# HAL-OSAL files (optional).
@@ -106,18 +108,13 @@ LDSCRIPT= $(STARTUPLD)/MK20DX128.ld # C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CSRC = $(STARTUPSRC) \
- $(KERNSRC) \
- $(PORTSRC) \
- $(OSALSRC) \
- $(HALSRC) \
- $(PLATFORMSRC) \
- $(BOARDSRC) \
+CSRC = $(ALLCSRC) \
+ $(TESTSRC) \
main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CPPSRC =
+CPPSRC = $(ALLCPPSRC)
# C sources to be compiled in ARM mode regardless of the global setting.
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
@@ -140,13 +137,11 @@ TCSRC = TCPPSRC =
# List ASM source files here
-ASMSRC =
-ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
+ASMSRC = $(ALLASMSRC)
+ASMXSRC = $(ALLXASMSRC)
-INCDIR = $(CHIBIOS)/os/license \
- $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
- $(HALINC) $(PLATFORMINC) $(BOARDINC) \
- $(CHIBIOS)/os/various
+INCDIR = $(ALLINC) $(TESTINC) \
+ $(TESTHAL)
#
# Project, sources and paths
|