2023-04-06 05:44:37 +03:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"options": {
|
|
|
|
"env": {
|
|
|
|
"PATH": "${workspaceFolder}@UFBT_VSCODE_PATH_SEP@${env:PATH}@UFBT_VSCODE_PATH_SEP@@UFBT_ROOT_DIR@"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "Launch App on Flipper",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt launch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt"
|
|
|
|
},
|
2023-04-10 17:46:22 +03:00
|
|
|
{
|
|
|
|
"label": "Clean",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt -c"
|
|
|
|
},
|
2023-04-06 05:44:37 +03:00
|
|
|
{
|
|
|
|
"label": "Flash FW (ST-Link)",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt FORCE=1 flash"
|
|
|
|
},
|
2023-04-10 17:46:22 +03:00
|
|
|
{
|
|
|
|
"label": "Flash FW (blackmagic)",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt flash_blackmagic"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Flash FW (JLink)",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt FORCE=1 jflash"
|
|
|
|
},
|
2023-04-06 05:44:37 +03:00
|
|
|
{
|
|
|
|
"label": "Flash FW (USB, with resources)",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt FORCE=1 flash_usb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Update uFBT SDK",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt update"
|
2023-04-10 17:46:22 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Update VSCode config for current SDK",
|
|
|
|
"group": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "ufbt vscode_dist"
|
2023-04-06 05:44:37 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|