85 lines
2.1 KiB
JSON
85 lines
2.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "PlatformIO: Build",
|
|
"type": "shell",
|
|
"command": "${env:HOME}/.platformio/penv/bin/pio",
|
|
"args": ["run"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": "$gcc",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "PlatformIO: Upload",
|
|
"type": "shell",
|
|
"command": "${env:HOME}/.platformio/penv/bin/pio",
|
|
"args": ["run", "--target", "upload"],
|
|
"group": "none",
|
|
"problemMatcher": "$gcc",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "PlatformIO: Monitor",
|
|
"type": "shell",
|
|
"command": "${env:HOME}/.platformio/penv/bin/pio",
|
|
"args": ["device", "monitor"],
|
|
"group": "none",
|
|
"isBackground": true,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
}
|
|
},
|
|
{
|
|
"label": "PlatformIO: Update IntelliSense DB",
|
|
"type": "shell",
|
|
"command": "${env:HOME}/.platformio/penv/bin/pio",
|
|
"args": ["run", "-t", "compiledb"],
|
|
"group": "none",
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "silent",
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "PlatformIO: Clean",
|
|
"type": "shell",
|
|
"command": "${env:HOME}/.platformio/penv/bin/pio",
|
|
"args": ["run", "--target", "clean"],
|
|
"group": "none",
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "PlatformIO: Upload and Monitor",
|
|
"dependsOn": ["PlatformIO: Upload"],
|
|
"dependsOrder": "sequence",
|
|
"type": "shell",
|
|
"command": "${env:HOME}/.platformio/penv/bin/pio",
|
|
"args": ["device", "monitor"],
|
|
"group": "none",
|
|
"isBackground": true,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
}
|
|
}
|
|
]
|
|
}
|