2021-03-26 13:37:01 -04:00
|
|
|
{
|
2024-03-23 05:45:45 -04:00
|
|
|
"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"
|
|
|
|
},
|
2021-03-26 13:37:01 -04:00
|
|
|
"configurations": [
|
|
|
|
{
|
2021-07-25 16:12:34 -04:00
|
|
|
"name": "nrfCC",
|
2021-03-26 13:37:01 -04:00
|
|
|
"includePath": [
|
2021-07-25 16:12:34 -04:00
|
|
|
"${workspaceFolder}/**",
|
|
|
|
"${workspaceFolder}/src/**",
|
|
|
|
"${workspaceFolder}/src"
|
2021-03-26 13:37:01 -04:00
|
|
|
],
|
|
|
|
"defines": [],
|
2021-07-25 16:12:34 -04:00
|
|
|
"compilerPath": "${env:ARM_NONE_EABI_TOOLCHAIN_PATH}/bin/arm-none-eabi-gcc",
|
|
|
|
"cStandard": "c11",
|
2023-11-26 19:44:26 -05:00
|
|
|
"cppStandard": "c++20",
|
2021-07-25 16:12:34 -04:00
|
|
|
"intelliSenseMode": "linux-gcc-arm",
|
2021-08-08 18:51:31 -04:00
|
|
|
"configurationProvider": "ms-vscode.cpp-tools",
|
2021-03-26 13:37:01 -04:00
|
|
|
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
|
2024-03-23 05:45:45 -04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
2021-03-26 13:37:01 -04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"version": 4
|
2024-03-23 05:45:45 -04:00
|
|
|
}
|