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