Skip to content

Commit

Permalink
Add an additional c_cpp_properties config as a fallback for devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodStainedCrow committed Nov 29, 2023
1 parent fa07ba8 commit 26fe2d0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -22,4 +37,4 @@
}
],
"version": 4
}
}

0 comments on commit 26fe2d0

Please sign in to comment.