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