adc code added

This commit is contained in:
2021-12-12 01:25:50 +01:00
parent 6de53fa3df
commit b44463f46b
5 changed files with 28 additions and 2 deletions

13
.vscode/launch.json vendored

@ -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,
},
]
}

13
.vscode/tasks.json vendored

@ -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
}
},
]
}

BIN
docs/MAX11618-MAX11625.pdf Normal file

Binary file not shown.