cleaned up blinky tasks

This commit is contained in:
Robin Müller 2021-11-07 15:52:42 +01:00
parent f2d511967d
commit 421b759bb9
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
4 changed files with 7 additions and 33 deletions

20
.vscode/launch.json vendored
View File

@ -7,28 +7,14 @@
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug PAC Blinky",
"name": "Debug LED Blinky",
"servertype": "jlink",
"gdbPath": "/usr/bin/gdb-multiarch",
"cwd": "${workspaceRoot}",
"device": "VA10820",
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
"preLaunchTask": "rust: cargo build pac blinky",
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-pac",
"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",
"preLaunchTask": "rust: cargo build led blinky",
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-leds",
"interface": "jtag",
"runToMain": true,
},

16
.vscode/tasks.json vendored
View File

@ -16,23 +16,11 @@
}
},
{
"label": "rust: cargo build pac blinky",
"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-pac",
],
"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",
"build", "-p", "vorago-reb1", "--example", "blinky-leds",
],
"group": {
"kind": "build",

@ -1 +1 @@
Subproject commit fd0def7212b43feab7ee23527b39463ee5d08105
Subproject commit 669fc1a104d4c3f8f860d1cb9e4439026a8be4c8

@ -1 +1 @@
Subproject commit c064788861f014eb33a7288d4b914488e9782d13
Subproject commit 2956bf6444a8f8d191cd17b8c33a4bf513c23ec9