57e625d4dc
* Only use one Dockerfile and build.sh script for both docker and devcontainer * Remove all now unneccessary tasks and scripts * Update to clang-format-14 * Move devcontainer.json into root folder * Fix conditional statements in Dockerfile * Move .devcontainer/README into doc/usingDevcontainers * Remove obsolete VSCode Task * Change standard compiler path to the correct compiler * Set GDB Path for debugging * Hide broken buttons from CMake Extension * Refactor .devcontainer * Remove unneccessary postBuildCommand * Add devcontainer dependencies to all docker images * Add Devcontainer Debug launch config * Add an additional c_cpp_properties config as a fallback for devcontainer * Remove obsolete Docker Argument * Fix wrong C/Cpp versions * Fix silent fail of gdb, add libncurses5
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"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",
|
|
"includePath": [
|
|
"${workspaceFolder}/**",
|
|
"${workspaceFolder}/src/**",
|
|
"${workspaceFolder}/src"
|
|
],
|
|
"defines": [],
|
|
"compilerPath": "${env:ARM_NONE_EABI_TOOLCHAIN_PATH}/bin/arm-none-eabi-gcc",
|
|
"cStandard": "c11",
|
|
"cppStandard": "c++20",
|
|
"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
|
|
}
|