aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-04-28 14:29:12 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-04-28 14:29:12 +0000
commit770087b130c3c2dfd675c0845ed5efa682c3144f (patch)
tree09e4174f564caf9eb2afb607b222b9c292433692 /demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
parent0392211c8a8cbe3dfbff3e6bbb21805aac2b661d (diff)
downloadChibiOS-770087b130c3c2dfd675c0845ed5efa682c3144f.tar.gz
ChibiOS-770087b130c3c2dfd675c0845ed5efa682c3144f.tar.bz2
ChibiOS-770087b130c3c2dfd675c0845ed5efa682c3144f.zip
Added Monitor template class, removed CondVar class, some renaming, documentation cleanup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11968 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile')
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
index 5783d3148..0919dd130 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
+++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/Makefile
@@ -15,7 +15,7 @@ endif
# C++ specific options here (added to USE_OPT).
ifeq ($(USE_CPPOPT),)
- USE_CPPOPT = -std=gnu++11 -fno-rtti
+ USE_CPPOPT = -std=gnu++11 -fno-exceptions -fno-rtti
endif
# Enable this if you want the linker to remove unused code and data
@@ -159,11 +159,8 @@ MCU = cortex-m4
TRGT = arm-none-eabi-
CC = $(TRGT)gcc
CPPC = $(TRGT)g++
-# Enable loading with g++ only if you need C++ runtime support.
-# NOTE: You can use C++ even without C++ support if you are careful. C++
-# runtime support makes code size explode.
-LD = $(TRGT)gcc
-#LD = $(TRGT)g++
+#LD = $(TRGT)gcc
+LD = $(TRGT)g++
CP = $(TRGT)objcopy
AS = $(TRGT)gcc -x assembler-with-cpp
AR = $(TRGT)ar