39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
|
{
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"label": "Compile Project",
|
||
|
"type": "process",
|
||
|
"isBuildCommand": true,
|
||
|
"command": "${userHome}/.pico-sdk/ninja/v1.11.1/ninja",
|
||
|
"args": ["-C", "${workspaceFolder}/build"],
|
||
|
"group": "build",
|
||
|
"presentation": {
|
||
|
"reveal": "always",
|
||
|
"panel": "dedicated"
|
||
|
},
|
||
|
"problemMatcher": "$gcc",
|
||
|
"windows": {
|
||
|
"command": "${env:USERPROFILE}/.pico-sdk/ninja/v1.11.1/ninja.exe"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"label": "Flash",
|
||
|
"type": "process",
|
||
|
"command": "${userHome}/.pico-sdk/openocd/v0.12.0-2/bin/openocd.exe",
|
||
|
"args": [
|
||
|
"-f",
|
||
|
"interface/cmsis-dap.cfg",
|
||
|
"-f",
|
||
|
"target/rp2040.cfg",
|
||
|
"-c",
|
||
|
"adapter speed 5000; program \"${command:raspberry-pi-pico.launchTargetPath}\" verify reset exit"
|
||
|
],
|
||
|
"problemMatcher": [],
|
||
|
"windows": {
|
||
|
"command": "${env:USERPROFILE}/.pico-sdk/openocd/v0.12.0-2/bin/openocd.exe",
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|