-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharmv7-probe-rs-debugger-test.code-workspace
31 lines (30 loc) · 1.25 KB
/
armv7-probe-rs-debugger-test.code-workspace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"folders": [
{
"path": "."
}
],
"settings": {
// The following are convenience settings for code editing.
"rust-analyzer.checkOnSave": true,
// All entries below must be configured to match the target device and required features.
"probe-rs-chip": "nRF52833_xxAA", // CONFIGURE: Replace with probe-rs supported CHIP name
"probe-rs-profile": "debug-no-opt",
// PLEASE NOTE: For some reason, these have to be duplicated in the "rust-analyzer.check.overrideCommand" setting.
"rust-analyzer.cargo.target": "thumbv7em-none-eabihf", // CONFIGURE: Replace target identity
"rust-analyzer.cargo.features": ["nRF52833_xxAA"], // CONFIGURE: Replace with probe-rs supported CHIP name
"rust-analyzer.cargo.extraArgs": ["--bin", "nRF52833_xxAA"], // CONFIGURE: Replace with probe-rs supported CHIP name
"rust-analyzer.check.overrideCommand": [
"cargo",
"clippy",
"--message-format",
"json-diagnostic-rendered-ansi",
"--features",
"nRF52833_xxAA", // CONFIGURE: Replace with probe-rs supported CHIP name
"--bin",
"nRF52833_xxAA", // CONFIGURE: Replace with probe-rs supported CHIP name
"--target",
"thumbv7em-none-eabihf" // CONFIGURE: Replace target identity
]
}
}