From b468eb8533a83b3cc8c7793e165bcabdfadc6e1d Mon Sep 17 00:00:00 2001 From: Torrie Fischer Date: Fri, 13 Dec 2024 00:46:09 +0100 Subject: [PATCH] vscode: add cargo tasks --- .vscode/tasks.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..e6cfa12 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "cargo", + "command": "build", + "problemMatcher": [ + "$rustc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "label": "rust: cargo build" + }, + { + "type": "cargo", + "command": "espflash flash --no-stub --monitor", + "problemMatcher": [ + "$rustc" + ], + "group": { + "kind": "build", + "isDefault": false + }, + "label": "rust: cargo espflash" + } + ] +} \ No newline at end of file