From b95119a1618070bd091e3c1ee9eb96f5bceb22d3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 3 Nov 2021 01:34:52 +0100 Subject: [PATCH] added .vscode files --- .vscode/launch.json | 22 ++++++++++++++++++++++ .vscode/tasks.json | 19 +++++++++++++++++++ vorago-reb1-rs | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..21da3e5 --- /dev/null +++ b/.vscode/launch.json @@ -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, + }, + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..f76eab4 --- /dev/null +++ b/.vscode/tasks.json @@ -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 + } + }, + ] +} \ No newline at end of file diff --git a/vorago-reb1-rs b/vorago-reb1-rs index 38999ab..464b056 160000 --- a/vorago-reb1-rs +++ b/vorago-reb1-rs @@ -1 +1 @@ -Subproject commit 38999aba97bd3d0250e6a11076312d176f77b854 +Subproject commit 464b05620e8dd8db2e08479cb473685b8a218001