ufbt: project & debugging updates (#2572)
* 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
This commit is contained in:
36
scripts/ufbt/project_template/.vscode/tasks.json
vendored
36
scripts/ufbt/project_template/.vscode/tasks.json
vendored
@@ -20,24 +20,30 @@
|
||||
"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": "[NOTIMPL] Flash FW (blackmagic)",
|
||||
// "group": "build",
|
||||
// "type": "shell",
|
||||
// "command": "ufbt flash_blackmagic"
|
||||
// },
|
||||
// {
|
||||
// "label": "[NOTIMPL] Flash FW (JLink)",
|
||||
// "group": "build",
|
||||
// "type": "shell",
|
||||
// "command": "ufbt FORCE=1 jflash"
|
||||
// },
|
||||
{
|
||||
"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",
|
||||
@@ -49,6 +55,12 @@
|
||||
"group": "build",
|
||||
"type": "shell",
|
||||
"command": "ufbt update"
|
||||
},
|
||||
{
|
||||
"label": "Update VSCode config for current SDK",
|
||||
"group": "build",
|
||||
"type": "shell",
|
||||
"command": "ufbt vscode_dist"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user