aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode/c_cpp_properties.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/c_cpp_properties.json')
-rw-r--r--.vscode/c_cpp_properties.json22
1 files changed, 21 insertions, 1 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
index 392f4151..c5f88a82 100644
--- a/.vscode/c_cpp_properties.json
+++ b/.vscode/c_cpp_properties.json
@@ -1,4 +1,9 @@
{
+ "env": {
+ // TODO: This is a duplication of the configuration set in /docker/build.sh!
+ "TOOLS_DIR": "/opt",
+ "GCC_ARM_PATH": "gcc-arm-none-eabi-10.3-2021.10"
+ },
"configurations": [
{
"name": "nrfCC",
@@ -14,7 +19,22 @@
"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": "c99",
+ "cppStandard": "c++20",
+ "intelliSenseMode": "linux-gcc-arm",
+ "configurationProvider": "ms-vscode.cpp-tools",
+ "compileCommands": "${workspaceFolder}/build/compile_commands.json"
}
],
"version": 4
-} \ No newline at end of file
+}