2022-11-12 19:37:16 +08:00
|
|
|
{
|
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
|
"version": "2.0.0",
|
|
|
|
|
"tasks": [
|
|
|
|
|
{
|
2026-07-07 02:03:16 +08:00
|
|
|
"label": "build task",
|
|
|
|
|
"type": "shell",
|
|
|
|
|
"command": "mingw32-make -j24",
|
|
|
|
|
"problemMatcher": [],
|
2022-11-12 19:37:16 +08:00
|
|
|
"group": {
|
|
|
|
|
"kind": "build",
|
|
|
|
|
"isDefault": true
|
|
|
|
|
}
|
2022-11-29 20:00:46 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "download dap",
|
2026-07-07 02:03:16 +08:00
|
|
|
"type": "shell",
|
|
|
|
|
"command": "mingw32-make -j24 ; mingw32-make download_dap",
|
|
|
|
|
"group": {
|
2022-11-29 20:00:46 +08:00
|
|
|
"kind": "build",
|
2026-07-07 02:03:16 +08:00
|
|
|
"isDefault": false
|
|
|
|
|
}
|
2022-11-29 20:00:46 +08:00
|
|
|
},
|
|
|
|
|
{
|
2026-07-07 02:03:16 +08:00
|
|
|
"label": "download jlink",
|
2022-11-29 20:00:46 +08:00
|
|
|
"type": "shell",
|
2026-07-07 02:03:16 +08:00
|
|
|
"command": " download_jlink",
|
2022-11-29 20:00:46 +08:00
|
|
|
"group": {
|
|
|
|
|
"kind": "build",
|
2026-07-07 02:03:16 +08:00
|
|
|
"isDefault": false
|
2022-11-29 20:00:46 +08:00
|
|
|
}
|
|
|
|
|
},
|
2023-03-18 20:36:21 +08:00
|
|
|
{
|
|
|
|
|
"label": "log",
|
|
|
|
|
"type": "shell",
|
2026-07-07 02:03:16 +08:00
|
|
|
"command": "JlinkRTTClient",
|
2023-03-18 20:36:21 +08:00
|
|
|
"args": [],
|
|
|
|
|
"problemMatcher": [],
|
2026-07-07 02:03:16 +08:00
|
|
|
"dependsOn": [
|
|
|
|
|
"build task"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Build STM",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"command": "${command:stm32-for-vscode.build}",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
|
},
|
|
|
|
|
"group": {
|
|
|
|
|
"kind": "build",
|
|
|
|
|
"isDefault": true
|
|
|
|
|
},
|
|
|
|
|
"problemMatcher": [
|
|
|
|
|
"$gcc"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Build Clean STM",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"command": "${command:stm32-for-vscode.cleanBuild}",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
|
},
|
|
|
|
|
"group": {
|
|
|
|
|
"kind": "build",
|
|
|
|
|
"isDefault": true
|
|
|
|
|
},
|
|
|
|
|
"problemMatcher": [
|
|
|
|
|
"$gcc"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Flash STM",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"command": "${command:stm32-for-vscode.flash}",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "${workspaceRoot}"
|
|
|
|
|
},
|
|
|
|
|
"group": {
|
|
|
|
|
"kind": "build",
|
|
|
|
|
"isDefault": true
|
|
|
|
|
},
|
|
|
|
|
"problemMatcher": [
|
|
|
|
|
"$gcc"
|
2024-01-17 18:57:26 +08:00
|
|
|
]
|
2023-03-18 20:36:21 +08:00
|
|
|
}
|
2022-11-12 19:37:16 +08:00
|
|
|
]
|
|
|
|
|
}
|