Skip to content

Commit c47e80d

Browse files
add helper settings for vscode (#25)
1 parent b91f156 commit c47e80d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"rust-analyzer.cargo.allTargets": false,
3+
"[rust]": {
4+
"editor.formatOnSave": true,
5+
},
6+
"rust-analyzer.linkedProjects": [
7+
"esp-hal-buzzer/Cargo.toml",
8+
"esp-hal-smartled/Cargo.toml"
9+
],
10+
// helps remove rust-analyser errors due to requiring a feature flag and target
11+
"rust-analyzer.cargo.features": ["esp32c3"],
12+
"rust-analyzer.cargo.target": "riscv32imc-unknown-none-elf",
13+
}

0 commit comments

Comments
 (0)