diff --git a/.vscode/launch.json b/.vscode/launch.json index 5b4cfda..f898ebd 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -158,5 +158,19 @@ "interface": "jtag", "runToMain": true, }, + { + "type": "cortex-debug", + "request": "launch", + "name": "Debug Accelerometer", + "servertype": "jlink", + "gdbPath": "/usr/bin/gdb-multiarch", + "cwd": "${workspaceRoot}", + "device": "VA10820", + "svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched", + "preLaunchTask": "rust: cargo build accelerometer", + "executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/accelerometer", + "interface": "jtag", + "runToMain": true, + }, ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3acd2d3..4ce62b5 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -151,5 +151,18 @@ "isDefault": true } }, + { + "label": "rust: cargo build accelerometer", + "type": "shell", + "command": "~/.cargo/bin/cargo", // note: full path to the cargo + "args": [ + "build", "-p", "vorago-reb1", "--example", "accelerometer", + "--features", "rt" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, ] } \ No newline at end of file diff --git a/docs/ADXL343-1503782.pdf b/docs/ADXL343-1503782.pdf new file mode 100644 index 0000000..d73ac60 Binary files /dev/null and b/docs/ADXL343-1503782.pdf differ diff --git a/va108xx-hal b/va108xx-hal index 5f6914a..1db363f 160000 --- a/va108xx-hal +++ b/va108xx-hal @@ -1 +1 @@ -Subproject commit 5f6914a93ab814fa0de00226c20f92e23ad8ffde +Subproject commit 1db363fe1a5608d2227023f42fccfcad41e56d99 diff --git a/vorago-reb1-rs b/vorago-reb1-rs index 1b2e973..dbca9d8 160000 --- a/vorago-reb1-rs +++ b/vorago-reb1-rs @@ -1 +1 @@ -Subproject commit 1b2e9734701f018f3f3e1a576518146adef96050 +Subproject commit dbca9d8fd2126193cefbab1f1255f0c0eb104dc7