update VS Code files

This commit is contained in:
2024-06-12 10:30:22 +02:00
parent 5179a79225
commit 622c0573f7
5 changed files with 33 additions and 64 deletions

View File

@ -15,11 +15,11 @@
"gdbTarget": "localhost:2331",
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx-base.svd",
"preLaunchTask": "rust: cargo build led blinky pac",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "blinky-pac-example",
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky-pac",
"interface": "swd",
"runToMain": true,
"runToEntryPoint": "main",
},
{
"type": "cortex-debug",
@ -29,11 +29,11 @@
"gdbTarget": "localhost:2331",
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx-base.svd",
"preLaunchTask": "rust: cargo build led blinky",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "blinky-example",
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/blinky",
"interface": "swd",
"runToMain": true,
"runToEntryPoint": "main",
},
{
"type": "cortex-debug",
@ -43,11 +43,11 @@
"gdbTarget": "localhost:2331",
"cwd": "${workspaceRoot}",
"device": "Cortex-M4",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx-base.svd",
"preLaunchTask": "rust: cargo build rtt",
"svdFile": "${workspaceFolder}/va416xx/svd/va416xx.svd.patched",
"preLaunchTask": "rtt-log-example",
"executable": "${workspaceFolder}/target/thumbv7em-none-eabihf/debug/examples/rtt-log",
"interface": "swd",
"runToMain": true,
"runToEntryPoint": "main",
},
]
}
}

View File

@ -4,11 +4,15 @@
"version": "2.0.0",
"tasks": [
{
"label": "rust: cargo build led blinky pac",
"label": "blinky-pac-example",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"build", "-p", "va416xx-hal", "--example", "blinky-pac"
"build",
"-p",
"va416xx-hal",
"--example",
"blinky-pac"
],
"group": {
"kind": "build",
@ -16,11 +20,15 @@
}
},
{
"label": "rust: cargo build rtt",
"label": "rtt-log-example",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"build", "-p", "va416xx-hal", "--example", "rtt-log"
"build",
"-p",
"va416xx-hal",
"--example",
"rtt-log"
],
"group": {
"kind": "build",
@ -28,11 +36,15 @@
}
},
{
"label": "rust: cargo build led blinky",
"label": "blinky-example",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"build", "-p", "vorago-hal", "--example", "blinky"
"build",
"-p",
"va416xx-hal",
"--example",
"blinky"
],
"group": {
"kind": "build",
@ -40,4 +52,4 @@
}
},
]
}
}