added .vscode files

This commit is contained in:
Robin Müller 2021-11-03 01:34:52 +01:00
parent b781e959a8
commit b95119a161
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
3 changed files with 42 additions and 1 deletions

22
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug Minimal Blinky",
"servertype": "jlink",
"gdbPath": "/usr/bin/gdb-multiarch",
"cwd": "${workspaceRoot}",
"device": "VA10820",
"svdFile": "./va108xx-rs/va108xx.svd",
"preLaunchTask": "rust: cargo build minimal blinky",
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/minimal-blinky",
"interface": "jtag",
"runToMain": true,
},
]
}

19
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,19 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "rust: cargo build minimal blinky",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"build", "-p", "vorago-reb1", "--example", "minimal-blinky",
],
"group": {
"kind": "build",
"isDefault": true
}
},
]
}

@ -1 +1 @@
Subproject commit 38999aba97bd3d0250e6a11076312d176f77b854
Subproject commit 464b05620e8dd8db2e08479cb473685b8a218001