From 1fa4c646e69d3d91f3cea9d323a71dbfe1e18c42 Mon Sep 17 00:00:00 2001 From: Der Skythe <31771569+derskythe@users.noreply.github.com> Date: Wed, 14 Dec 2022 11:42:13 +0400 Subject: [PATCH] VSCode: add task 'Serial console' and group task with sequence calling (#2121) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add task 'Serial console' and group task with sequence calling * PR fixes Co-authored-by: あく --- .vscode/example/tasks.json | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/.vscode/example/tasks.json b/.vscode/example/tasks.json index 9baaf97b..c16c3ab4 100644 --- a/.vscode/example/tasks.json +++ b/.vscode/example/tasks.json @@ -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" + } } ] -} \ No newline at end of file +}