aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-11 08:36:13 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-11 08:36:13 +0000
commit7e5f127c41b8fb167e6dfb834a4a39bb8cc35bbf (patch)
tree99dfd14ee62ca90aa9c39da8f7bf3f4684e47f50 /demos/STM32
parent05f8c30707338157d66beff3c28cbdb79b0646aa (diff)
downloadChibiOS-7e5f127c41b8fb167e6dfb834a4a39bb8cc35bbf.tar.gz
ChibiOS-7e5f127c41b8fb167e6dfb834a4a39bb8cc35bbf.tar.bz2
ChibiOS-7e5f127c41b8fb167e6dfb834a4a39bb8cc35bbf.zip
[CPP wrappers] Base mailbox class now strongly typed and template based.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7260 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32')
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
index 7360b53c2..8d16de8c1 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
@@ -88,6 +88,7 @@ include $(CHIBIOS)/os/hal/osal/rt/osal.mk
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/rt/ports/ARMCMx/compilers/GCC/mk/port_stm32f4xx.mk
include $(CHIBIOS)/test/rt/test.mk
+include $(CHIBIOS)/os/various/cpp_wrappers/chcpp.mk
# Define linker script file here
LDSCRIPT= $(PORTLD)/STM32F407xG.ld
@@ -108,9 +109,8 @@ CSRC = $(PORTSRC) \
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CPPSRC = main.cpp \
- $(CHIBIOS)/os/various/cpp_wrappers/ch.cpp \
- $(CHIBIOS)/os/various/cpp_wrappers/syscalls_cpp.cpp \
+CPPSRC = $(CHCPPSRC) \
+ main.cpp
# C sources to be compiled in ARM mode regardless of the global setting.
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler