From 7e5f127c41b8fb167e6dfb834a4a39bb8cc35bbf Mon Sep 17 00:00:00 2001 From: barthess Date: Thu, 11 Sep 2014 08:36:13 +0000 Subject: [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 --- demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demos/STM32') 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 -- cgit v1.2.3