2021-11-03 01:34:52 +01:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2021-11-04 09:55:00 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-03 01:34:52 +01:00
|
|
|
{
|
2021-11-07 16:20:05 +01:00
|
|
|
"label": "rust: cargo build hal tests",
|
2021-11-03 01:34:52 +01:00
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
2021-11-07 16:20:05 +01:00
|
|
|
"build", "-p", "va108xx-hal", "--example", "tests",
|
2021-11-19 12:00:48 +01:00
|
|
|
"--features", "rt"
|
2021-11-03 01:34:52 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-06 19:02:52 +01:00
|
|
|
{
|
2021-11-07 16:20:05 +01:00
|
|
|
"label": "rust: cargo build rtt",
|
2021-11-06 19:02:52 +01:00
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
2021-11-07 16:20:05 +01:00
|
|
|
"build", "-p", "va108xx-hal", "--example", "rtt-log",
|
2021-11-06 19:02:52 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-06 21:07:51 +01:00
|
|
|
{
|
2021-11-07 16:20:05 +01:00
|
|
|
"label": "rust: cargo build systick",
|
2021-11-06 21:07:51 +01:00
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
2021-11-07 16:20:05 +01:00
|
|
|
"build", "-p", "va108xx-hal", "--example",
|
2021-11-08 00:59:22 +01:00
|
|
|
"timer-ticks", "--features", "rt"
|
2021-11-07 14:25:15 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-09 13:21:15 +01:00
|
|
|
{
|
2021-11-15 10:55:22 +01:00
|
|
|
"label": "rust: cargo build uart",
|
2021-11-09 13:21:15 +01:00
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "va108xx-hal", "--example", "uart",
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-15 10:55:22 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build spi",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "va108xx-hal", "--example", "spi",
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-07 16:20:05 +01:00
|
|
|
|
2021-11-07 14:25:15 +01:00
|
|
|
{
|
2021-11-07 16:20:05 +01:00
|
|
|
"label": "rust: cargo build led blinky",
|
2021-11-07 14:25:15 +01:00
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
2021-11-07 16:20:05 +01:00
|
|
|
"build", "-p", "vorago-reb1", "--example", "blinky-leds",
|
2021-11-07 14:25:15 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2021-11-07 16:20:05 +01:00
|
|
|
"label": "rust: cargo build button blinky",
|
2021-11-07 14:25:15 +01:00
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
2021-11-07 16:20:05 +01:00
|
|
|
"build", "-p", "vorago-reb1", "--example", "blinky-button-irq",
|
2021-11-06 21:07:51 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-12-02 11:46:47 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build temp sensor",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "vorago-reb1", "--example", "temp-sensor",
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-03 01:34:52 +01:00
|
|
|
]
|
|
|
|
}
|