mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 06:13:14 +03:00
b9ccb274a7
* ufbt: removed warning in "channel=dev" update mode * ufbt: removed API version warning; added get_blackmagic & get_apiversion targets * ufbt: updater project template to include blackmagic & jlink targets * ufbt: project template: fixes & updates * ufbt: project template: added config update shortcut * sdk: using fixed names for file components
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
// 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"
|
|
},
|
|
{
|
|
"label": "Clean",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "ufbt -c"
|
|
},
|
|
{
|
|
"label": "Flash FW (ST-Link)",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "ufbt FORCE=1 flash"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"label": "Update VSCode config for current SDK",
|
|
"group": "build",
|
|
"type": "shell",
|
|
"command": "ufbt vscode_dist"
|
|
}
|
|
]
|
|
} |