Update .vscode files

This commit is contained in:
Tilen Majerle 2022-01-15 00:41:45 +01:00
parent 4e4b619122
commit 56a2fafa52
8 changed files with 35 additions and 16 deletions

7
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"twxs.cmake",
]
}

12
.vscode/tasks.json vendored
View File

@ -1,19 +1,11 @@
{
"version": "2.0.0",
/* For this builds, you need
*
* - Ninja build system
* - MSYS2 compiler with ninja support
* - C/C++ extension for VSCode
* - CMake-Tools extension for VSCode
*/
"tasks": [
{
"type": "cppbuild",
"label": "Build project",
"command": "cmake",
"args": ["--build", "\"build\""],
"args": ["--build", "\"build\"", "-j", "8"],
"options": {
"cwd": "${workspaceFolder}"
},
@ -27,7 +19,7 @@
"type": "shell",
"label": "Re-build project",
"command": "cmake",
"args": ["--build", "\"build\"", "--clean-first", "-v"],
"args": ["--build", "\"build\"", "--clean-first", "-v", "-j", "8"],
"options": {
"cwd": "${workspaceFolder}"
},

View File

@ -0,0 +1,10 @@
{
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"marus25.cortex-debug",
"twxs.cmake",
"dan-c-underwood.arm",
"zixuanwang.linkerscript"
]
}

View File

@ -5,7 +5,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug Microcontroller - STLink-V3",
"name": "Debug Microcontroller - ST-Link",
"cwd": "${workspaceFolder}",
"type": "cortex-debug",
"executable": "${command:cmake.launchTargetPath}", //or fixed file path: build/project-name.elf

View File

@ -5,7 +5,7 @@
"type": "cppbuild",
"label": "Build project",
"command": "cmake",
"args": ["--build", "\"build\""],
"args": ["--build", "\"build\"", "-j", "8"],
"options": {
"cwd": "${workspaceFolder}"
},
@ -19,7 +19,7 @@
"type": "shell",
"label": "Re-build project",
"command": "cmake",
"args": ["--build", "\"build\"", "--clean-first", "-v"],
"args": ["--build", "\"build\"", "--clean-first", "-v", "-j", "8"],
"options": {
"cwd": "${workspaceFolder}"
},

View File

@ -0,0 +1,10 @@
{
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"marus25.cortex-debug",
"twxs.cmake",
"dan-c-underwood.arm",
"zixuanwang.linkerscript"
]
}

View File

@ -5,7 +5,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug Microcontroller - STLink-V3",
"name": "Debug Microcontroller - ST-Link",
"cwd": "${workspaceFolder}",
"type": "cortex-debug",
"executable": "${command:cmake.launchTargetPath}", //or fixed file path: build/project-name.elf

View File

@ -5,7 +5,7 @@
"type": "cppbuild",
"label": "Build project",
"command": "cmake",
"args": ["--build", "\"build\""],
"args": ["--build", "\"build\"", "-j", "8"],
"options": {
"cwd": "${workspaceFolder}"
},
@ -19,7 +19,7 @@
"type": "shell",
"label": "Re-build project",
"command": "cmake",
"args": ["--build", "\"build\"", "--clean-first", "-v"],
"args": ["--build", "\"build\"", "--clean-first", "-v", "-j", "8"],
"options": {
"cwd": "${workspaceFolder}"
},