From 1be26cd758f35a780a808fe1a02aea82e9565f38 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Mon, 18 Jul 2022 18:27:58 +0200 Subject: [PATCH] Add tasks --- rust/.vscode/tasks.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rust/.vscode/tasks.json diff --git a/rust/.vscode/tasks.json b/rust/.vscode/tasks.json new file mode 100644 index 0000000..7419f10 --- /dev/null +++ b/rust/.vscode/tasks.json @@ -0,0 +1,20 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build Arduino Release Binary", + "type": "shell", + "command": "cargo build --release", + "problemMatcher": [] + }, + { + "label": "Write to Arduino", + "type": "shell", + "command": "ravedude uno -b 57600 ${workspaceFolder}/target/avr-atmega328p/release/arduino-pedal.elf", + "problemMatcher": [], + "dependsOn": "Build Arduino Release Binary" + } + ] +} \ No newline at end of file