aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F1xx/USB_CDC/Makefile
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-20 18:53:30 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-20 18:53:30 +0000
commit41585364a77e8d8491c958525d1f0446fe2772e9 (patch)
treeb9cdb86310678f066c78732a527885a611eb5bd9 /testhal/STM32/STM32F1xx/USB_CDC/Makefile
parent54b63fd3bb931702581eca0ffb1d470923046c81 (diff)
downloadChibiOS-41585364a77e8d8491c958525d1f0446fe2772e9.tar.gz
ChibiOS-41585364a77e8d8491c958525d1f0446fe2772e9.tar.bz2
ChibiOS-41585364a77e8d8491c958525d1f0446fe2772e9.zip
Updated CDC demos under testhal with new shell.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8916 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F1xx/USB_CDC/Makefile')
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/Makefile b/testhal/STM32/STM32F1xx/USB_CDC/Makefile
index f8d1947b7..2815c4568 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC/Makefile
+++ b/testhal/STM32/STM32F1xx/USB_CDC/Makefile
@@ -99,6 +99,8 @@ include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk
# Other files (optional).
include $(CHIBIOS)/test/rt/test.mk
+include $(CHIBIOS)/os/hal/lib/streams/streams.mk
+include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
LDSCRIPT= $(STARTUPLD)/STM32F103xB.ld
@@ -113,9 +115,8 @@ CSRC = $(STARTUPSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(TESTSRC) \
- $(CHIBIOS)/os/various/shell.c \
- $(CHIBIOS)/os/hal/lib/streams/memstreams.c \
- $(CHIBIOS)/os/hal/lib/streams/chprintf.c \
+ $(STREAMSSRC) \
+ $(SHELLSRC) \
usbcfg.c main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
@@ -147,7 +148,7 @@ ASMSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
- $(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various
+ $(STREAMSINC) $(SHELLINC)
#
# Project, sources and paths