From 6c7ca9f494416116c6fddd54ab8e36dd94228627 Mon Sep 17 00:00:00 2001
From: edolomb <none@example.com>
Date: Mon, 26 Feb 2018 22:30:37 +0000
Subject: Updated Demo

git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11563 110e8d01-0319-4d1e-a829-52ad28d1bb01
---
 testhal/ATSAMA5D2/SERIAL/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'testhal')

diff --git a/testhal/ATSAMA5D2/SERIAL/Makefile b/testhal/ATSAMA5D2/SERIAL/Makefile
index fa4cd188f..41ebc4ffd 100755
--- a/testhal/ATSAMA5D2/SERIAL/Makefile
+++ b/testhal/ATSAMA5D2/SERIAL/Makefile
@@ -122,6 +122,7 @@ include $(CHIBIOS)/os/hal/osal/rt/osal.mk
 include $(CHIBIOS)/os/rt/rt.mk
 include $(CHIBIOS)/os/common/ports/ARMCAx-TZ/compilers/GCC/mk/port_generic.mk
 # Other files (optional).
+include $(CHIBIOS)/os/hal/lib/streams/streams.mk
 #include $(CHIBIOS)/test/lib/test.mk
 #include $(CHIBIOS)/test/rt/rt_test.mk
 #include $(CHIBIOS)/test/oslib/oslib_test.mk
@@ -141,7 +142,7 @@ CSRC = $(STARTUPSRC) \
        $(PLATFORMSRC) \
        $(BOARDSRC) \
        $(TESTSRC) \
-       $(CHIBIOS)/os/hal/lib/streams/chprintf.c \
+       $(STREAMSSRC) \
        main.c
 
 # C++ sources that can be compiled in ARM or THUMB mode depending on the global
@@ -175,7 +176,7 @@ ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
 INCDIR = $(CHIBIOS)/os/license \
          $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
          $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
-         $(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
+         $(STREAMSINC) $(CHIBIOS)/os/various
 
 #
 # Project, sources and paths
-- 
cgit v1.2.3