From 26fe2d0b554e3af7c9b43c4d804f199db99dee72 Mon Sep 17 00:00:00 2001 From: BloodStainedCrow Date: Wed, 29 Nov 2023 00:12:52 +0000 Subject: [PATCH] Add an additional c_cpp_properties config as a fallback for devcontainer --- .vscode/c_cpp_properties.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 92d825fab8..9775895681 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -13,6 +13,21 @@ "${workspaceFolder}/src" ], "defines": [], + "compilerPath": "${env:ARM_NONE_EABI_TOOLCHAIN_PATH}/bin/arm-none-eabi-gcc", + "cStandard": "c11", + "cppStandard": "c++14", + "intelliSenseMode": "linux-gcc-arm", + "configurationProvider": "ms-vscode.cpp-tools", + "compileCommands": "${workspaceFolder}/build/compile_commands.json" + }, + { + "name": "nrfCC Devcontainer", + "includePath": [ + "${workspaceFolder}/**", + "${workspaceFolder}/src/**", + "${workspaceFolder}/src" + ], + "defines": [], "compilerPath": "${TOOLS_DIR}/${GCC_ARM_PATH}/bin/arm-none-eabi-gcc", "cStandard": "c11", "cppStandard": "c++14", @@ -22,4 +37,4 @@ } ], "version": 4 -} \ No newline at end of file +}