diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 76ccaa2..c5a0e26 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -15,7 +15,7 @@ "compilerPath": "~\\.particle\\toolchains\\gcc-arm\\10.2.1\\bin\\arm-none-eabi-gcc.exe", "intelliSenseMode": "windows-gcc-arm", "cStandard": "c11", - "cppStandard": "c++14", + "cppStandard": "c++11", "configurationProvider": "particle.particle-vscode-core", "mergeConfigurations": true, "browse": { @@ -52,7 +52,7 @@ "compilerPath": "/usr/bin/gcc", "intelliSenseMode": "linux-gcc-x64", "cStandard": "c11", - "cppStandard": "c++14", + "cppStandard": "c++11", "configurationProvider": "ms-vscode.cmake-tools", "mergeConfigurations": true, "browse": { diff --git a/CMakeLists.txt b/CMakeLists.txt index 6732506..fcc7131 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.14) project(SmartfinTests) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON)