2021-12-07 00:31:51 +01:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
2024-09-17 10:53:39 +02:00
|
|
|
{
|
|
|
|
"label": "bootloader",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin",
|
|
|
|
"bootloader"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "flashloader",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin",
|
|
|
|
"flashloader"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2021-12-07 00:31:51 +01:00
|
|
|
{
|
|
|
|
"label": "blinky-pac-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"blinky-pac"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "rtt-log-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"rtt-log"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2024-09-17 10:53:39 +02:00
|
|
|
{
|
|
|
|
"label": "timer-ticks-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"timer-ticks"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2021-12-07 00:31:51 +01:00
|
|
|
{
|
|
|
|
"label": "blinky-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
2024-06-30 18:15:28 +02:00
|
|
|
"blinky"
|
2021-12-07 00:31:51 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "uart-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"uart"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2024-09-17 10:53:39 +02:00
|
|
|
{
|
|
|
|
"label": "pwm-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"pwm"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2021-12-07 00:31:51 +01:00
|
|
|
{
|
|
|
|
"label": "wdt-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"wdt"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "spi-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"spi"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2024-06-30 18:15:28 +02:00
|
|
|
{
|
|
|
|
"label": "dac-adc-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"dac-adc"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "adc-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"adc"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2024-09-17 10:53:39 +02:00
|
|
|
{
|
|
|
|
"label": "dma-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--example",
|
|
|
|
"dma"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "embassy-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin",
|
|
|
|
"embassy-example"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2024-09-17 18:07:45 +02:00
|
|
|
{
|
|
|
|
"label": "rtic-example",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"--bin",
|
|
|
|
"rtic-example"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
}
|
|
|
|
},
|
2021-12-07 00:31:51 +01:00
|
|
|
]
|
2024-09-17 18:07:45 +02:00
|
|
|
}
|