93 lines
2.8 KiB
JSON
93 lines
2.8 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "rust: cargo build",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "rust: cargo build hal tests",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build", "-p", "va108xx-hal", "--example", "tests",
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "rust: cargo build rtt",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build", "-p", "va108xx-hal", "--example", "rtt-log",
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "rust: cargo build systick",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build", "-p", "va108xx-hal", "--example",
|
|
"timer-ticks", "--features", "rt"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "rust: cargo build button uart",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build", "-p", "va108xx-hal", "--example", "uart",
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
|
|
{
|
|
"label": "rust: cargo build led blinky",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build", "-p", "vorago-reb1", "--example", "blinky-leds",
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "rust: cargo build button blinky",
|
|
"type": "shell",
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
"args": [
|
|
"build", "-p", "vorago-reb1", "--example", "blinky-button-irq",
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
]
|
|
} |