aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-12-29 19:01:39 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-12-29 19:01:39 +0100
commitaae314fead54dab7b258f3a6c7ac1615833f9987 (patch)
treeae8eef88eae5d2031da89af3c16803b55987555e /cmake
parent47e728d34e64d2dc04736828111490dc8b0a8258 (diff)
downloadstm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.gz
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.bz2
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.xz
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.zip
o Basic pre-emptive task switching OS.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/stm32.toolchain.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/stm32.toolchain.cmake b/cmake/stm32.toolchain.cmake
index b9acf62..fb1cc57 100644
--- a/cmake/stm32.toolchain.cmake
+++ b/cmake/stm32.toolchain.cmake
@@ -25,7 +25,7 @@ set(TARGET_FLAGS "-mcpu=cortex-m3 -mthumb")
set(BASE_FLAGS "-Wall -g -ffunction-sections -fdata-sections ${TARGET_FLAGS}")
set(CMAKE_C_FLAGS "${BASE_FLAGS}" CACHE STRING "c flags") # XXX Generate TIME_T dynamically.
-set(CMAKE_CXX_FLAGS "${BASE_FLAGS} -fno-exceptions -fno-rtti -felide-constructors -std=gnu++0x" CACHE STRING "c++ flags")
+set(CMAKE_CXX_FLAGS "${BASE_FLAGS} -fno-exceptions -fno-rtti -felide-constructors -std=c++14" CACHE STRING "c++ flags")
#set(LINKER_FLAGS "-Os -Wl,--gc-sections ${TARGET_FLAGS} -T${TEENSY_ROOT}/mk20dx256.ld")
#set(LINKER_FLAGS "-Os -Wl,--gc-sections ${TARGET_FLAGS}")