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
34
.vscode/example/tasks.json
vendored
34
.vscode/example/tasks.json
vendored
@ -128,6 +128,38 @@
|
|||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt COMPACT=1 DEBUG=0 launch_app APPSRC=${relativeFileDirname}"
|
"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 New Issue
Block a user