Add tasks
This commit is contained in:
parent
eb4edc287b
commit
1be26cd758
1 changed files with 20 additions and 0 deletions
20
rust/.vscode/tasks.json
vendored
Normal file
20
rust/.vscode/tasks.json
vendored
Normal file
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue