diff --git a/.vscode/launch.json b/.vscode/launch.json index 531953f..a194f2f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -116,5 +116,19 @@ "interface": "jtag", "runToMain": true, }, + { + "type": "cortex-debug", + "request": "launch", + "name": "Debug Button Blinky RTIC", + "servertype": "jlink", + "gdbPath": "/usr/bin/gdb-multiarch", + "cwd": "${workspaceRoot}", + "device": "VA10820", + "svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched", + "preLaunchTask": "rust: cargo build button blinky rtic", + "executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/blinky-button-rtic", + "interface": "jtag", + "runToMain": true, + }, ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3f79530..047abdc 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -114,5 +114,18 @@ "isDefault": true } }, + { + "label": "rust: cargo build button blinky rtic", + "type": "shell", + "command": "~/.cargo/bin/cargo", // note: full path to the cargo + "args": [ + "build", "-p", "vorago-reb1", "--example", "blinky-button-rtic", + "--features", "rt" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, ] } \ No newline at end of file diff --git a/va108xx-hal-rs b/va108xx-hal-rs index 44cc075..d4d5bf6 160000 --- a/va108xx-hal-rs +++ b/va108xx-hal-rs @@ -1 +1 @@ -Subproject commit 44cc075ba0fd4afd730834d6c87a6fd92581bb48 +Subproject commit d4d5bf66e424e640d1100a15058734e8bf67c29d diff --git a/vorago-reb1-rs b/vorago-reb1-rs index 6efb91f..e59df63 160000 --- a/vorago-reb1-rs +++ b/vorago-reb1-rs @@ -1 +1 @@ -Subproject commit 6efb91fa54a4db130f258c025d23b0be77194f19 +Subproject commit e59df63baa7b97a5f006b9946a741b594fdee779