diff --git a/.vscode/launch.json b/.vscode/launch.json index 69014ae..67bc89f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -163,5 +163,18 @@ "interface": "jtag", "runToMain": true, }, + { + "type": "cortex-debug", + "request": "launch", + "name": "Debug ADC", + "servertype": "jlink", + "cwd": "${workspaceRoot}", + "device": "Cortex-M0", + "svdFile": "./va108xx/svd/va108xx-base.svd.patched", + "preLaunchTask": "rust: cargo build adc", + "executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/max11619-adc", + "interface": "jtag", + "runToMain": true, + }, ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 691bf9e..e3e1369 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -164,5 +164,18 @@ "isDefault": true } }, + { + "label": "rust: cargo build adc", + "type": "shell", + "command": "~/.cargo/bin/cargo", // note: full path to the cargo + "args": [ + "build", "-p", "vorago-reb1", "--example", "max11619-adc", + "--features", "rt" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, ] } \ No newline at end of file diff --git a/docs/MAX11618-MAX11625.pdf b/docs/MAX11618-MAX11625.pdf new file mode 100644 index 0000000..be13e57 Binary files /dev/null and b/docs/MAX11618-MAX11625.pdf differ diff --git a/va108xx-hal b/va108xx-hal index 1db363f..e6e03fa 160000 --- a/va108xx-hal +++ b/va108xx-hal @@ -1 +1 @@ -Subproject commit 1db363fe1a5608d2227023f42fccfcad41e56d99 +Subproject commit e6e03fa6e5288292495caced289b2e57ced7758b diff --git a/vorago-reb1-rs b/vorago-reb1-rs index 87134c9..d3b3136 160000 --- a/vorago-reb1-rs +++ b/vorago-reb1-rs @@ -1 +1 @@ -Subproject commit 87134c9c6d9bcb2cb59e971cc83f9e305467f727 +Subproject commit d3b31365c1e65ced6669c53d7ba0894305d85615