65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
|
{
|
||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||
|
// for the documentation about the tasks.json format
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"taskName": "make",
|
||
|
"identifier": "make",
|
||
|
"type": "shell",
|
||
|
"command": "make",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": "$gcc",
|
||
|
"isBackground": false,
|
||
|
"presentation": {
|
||
|
"echo": true,
|
||
|
"reveal": "always",
|
||
|
"focus": false,
|
||
|
"panel": "shared"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"taskName": "openocd",
|
||
|
"identifier": "openocd",
|
||
|
"type": "shell",
|
||
|
"command": "openocd",
|
||
|
"args": [
|
||
|
"-f",
|
||
|
"interface/stlink-v2.cfg",
|
||
|
"-f",
|
||
|
"target/stm32f1x.cfg"
|
||
|
],
|
||
|
"group": "none",
|
||
|
"isBackground": true,
|
||
|
"presentation": {
|
||
|
"echo": true,
|
||
|
"reveal": "silent",
|
||
|
"focus": false,
|
||
|
"panel": "dedicated"
|
||
|
},
|
||
|
"dependsOn": "make",
|
||
|
"problemMatcher": []
|
||
|
},
|
||
|
{
|
||
|
"taskName": "program",
|
||
|
"identifier": "program",
|
||
|
"type": "shell",
|
||
|
"command": "make",
|
||
|
"args": [
|
||
|
"program"
|
||
|
],
|
||
|
"group": "build",
|
||
|
"problemMatcher": "$gcc",
|
||
|
"isBackground": false,
|
||
|
"presentation": {
|
||
|
"echo": true,
|
||
|
"reveal": "always",
|
||
|
"focus": false,
|
||
|
"panel": "shared"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|