cleaned up blinky tasks
This commit is contained in:
20
.vscode/launch.json
vendored
20
.vscode/launch.json
vendored
@ -7,28 +7,14 @@
|
|||||||
{
|
{
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Debug PAC Blinky",
|
"name": "Debug LED Blinky",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
"gdbPath": "/usr/bin/gdb-multiarch",
|
||||||
"cwd": "${workspaceRoot}",
|
"cwd": "${workspaceRoot}",
|
||||||
"device": "VA10820",
|
"device": "VA10820",
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
||||||
"preLaunchTask": "rust: cargo build pac blinky",
|
"preLaunchTask": "rust: cargo build led blinky",
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-pac",
|
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-leds",
|
||||||
"interface": "jtag",
|
|
||||||
"runToMain": true,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "cortex-debug",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Debug HAL Blinky",
|
|
||||||
"servertype": "jlink",
|
|
||||||
"gdbPath": "/usr/bin/gdb-multiarch",
|
|
||||||
"cwd": "${workspaceRoot}",
|
|
||||||
"device": "VA10820",
|
|
||||||
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
|
|
||||||
"preLaunchTask": "rust: cargo build hal blinky",
|
|
||||||
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-hal",
|
|
||||||
"interface": "jtag",
|
"interface": "jtag",
|
||||||
"runToMain": true,
|
"runToMain": true,
|
||||||
},
|
},
|
||||||
|
16
.vscode/tasks.json
vendored
16
.vscode/tasks.json
vendored
@ -16,23 +16,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "rust: cargo build pac blinky",
|
"label": "rust: cargo build led blinky",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
||||||
"args": [
|
"args": [
|
||||||
"build", "-p", "vorago-reb1", "--example", "blinky-pac",
|
"build", "-p", "vorago-reb1", "--example", "blinky-leds",
|
||||||
],
|
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
"isDefault": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "rust: cargo build hal blinky",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
|
|
||||||
"args": [
|
|
||||||
"build", "-p", "vorago-reb1", "--example", "blinky-hal",
|
|
||||||
],
|
],
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
|
Submodule va108xx-hal-rs updated: fd0def7212...669fc1a104
Submodule vorago-reb1-rs updated: c064788861...2956bf6444
Reference in New Issue
Block a user