aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/Makefile
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-21 08:26:57 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-21 08:26:57 +0000
commitadcc51666865020347d364f7b3cad8a622124f7a (patch)
tree518a8c37a8f76a7fd1a9f074642d14e0c62cf9c8 /demos/STM32/RT-STM32F103_INEMO_DISCOVERY/Makefile
parent951efe320c6a035b67c99deae380b351b2e0b9c0 (diff)
downloadChibiOS-adcc51666865020347d364f7b3cad8a622124f7a.tar.gz
ChibiOS-adcc51666865020347d364f7b3cad8a622124f7a.tar.bz2
ChibiOS-adcc51666865020347d364f7b3cad8a622124f7a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8918 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F103_INEMO_DISCOVERY/Makefile')
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/Makefile b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/Makefile
index 82a14c13e..cb84f6c7c 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/Makefile
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/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)/STM32F103xE.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