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