mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-22 20:43:07 +00:00
VSCode: add task 'Serial console' and group task with sequence calling (#2121)
* Add task 'Serial console' and group task with sequence calling * PR fixes Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
1c12613863
commit
1fa4c646e6
1 changed files with 33 additions and 1 deletions
32
.vscode/example/tasks.json
vendored
32
.vscode/example/tasks.json
vendored
|
@ -128,6 +128,38 @@
|
|||
"group": "build",
|
||||
"type": "shell",
|
||||
"command": "./fbt COMPACT=1 DEBUG=0 launch_app APPSRC=${relativeFileDirname}"
|
||||
},
|
||||
{
|
||||
"label": "[Debug] Launch App on Flipper with Serial Console",
|
||||
"dependsOrder": "sequence",
|
||||
"group": "build",
|
||||
"dependsOn": [
|
||||
"[Debug] Launch App on Flipper",
|
||||
"Serial Console"
|
||||
]
|
||||
},
|
||||
{
|
||||
// Press Ctrl+] to quit
|
||||
"label": "Serial Console",
|
||||
"type": "shell",
|
||||
"command": "./fbt cli",
|
||||
"group": "none",
|
||||
"isBackground": true,
|
||||
"options": {
|
||||
"env": {
|
||||
"FBT_NO_SYNC": "0"
|
||||
}
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"revealProblems": "never",
|
||||
"showReuseMessage": false,
|
||||
"panel": "dedicated",
|
||||
"focus": true,
|
||||
"echo": true,
|
||||
"close": true,
|
||||
"group": "Logger"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue