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-12-05 17:55:02 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build pwm",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "va108xx-hal", "--example", "pwm", "--features", "rt"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-12-06 12:54:43 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build cascade",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "va108xx-hal", "--example", "cascade", "--features", "rt"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-12-21 00:02:33 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build uart irq",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "va108xx-hal", "--example", "uart-irq-rtic", "--features", "rt"
|
|
|
|
],
|
|
|
|
"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": [
|
2021-12-10 10:13:42 +01:00
|
|
|
"build", "-p", "vorago-reb1", "--example", "adt75-temp-sensor",
|
2021-12-02 11:46:47 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-12-04 21:37:09 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build button blinky rtic",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "vorago-reb1", "--example", "blinky-button-rtic",
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-12-10 00:07:20 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build accelerometer",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
2021-12-12 14:32:03 +01:00
|
|
|
"build", "-p", "vorago-reb1", "--example", "adxl343-accelerometer"
|
2021-12-10 00:07:20 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-12-12 01:25:50 +01:00
|
|
|
{
|
|
|
|
"label": "rust: cargo build adc",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build", "-p", "vorago-reb1", "--example", "max11619-adc",
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-03 01:34:52 +01:00
|
|
|
]
|
|
|
|
}
|