20 lines
642 B
JSON
20 lines
642 B
JSON
|
{
|
||
|
// 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"
|
||
|
}
|
||
|
]
|
||
|
}
|