summaryrefslogtreecommitdiff
path: root/.vscode/settings.json
blob: 62e5a362fd0bd0f425e244e77104df710ce45b89 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "editor.formatOnSave": true,
  "rust-analyzer.checkOnSave.allTargets": false,
  "rust-analyzer.checkOnSave.noDefaultFeatures": true,
  "rust-analyzer.cargo.noDefaultFeatures": true,
  "rust-analyzer.procMacro.enable": true,
  "rust-analyzer.cargo.target": "thumbv7em-none-eabi",
  "rust-analyzer.cargo.features": [
    // These are needed to prevent embassy-net from failing to build
    //"embassy-net/medium-ethernet",
    //"embassy-net/tcp",
    //"embassy-net/pool-16",
    //"time-tick-16mhz",
    //"defmt-timestamp-uptime",
    "nightly",
    //"unstable-traits",
  ],
  "rust-analyzer.linkedProjects": [
    // Declare for the target you wish to develop
    //"embassy-executor/Cargo.toml",
    //"embassy-sync/Cargo.toml",
    "examples/nrf/Cargo.toml",
    // "examples/nrf-rtos-trace/Cargo.toml",
    // "examples/rp/Cargo.toml",
    // "examples/std/Cargo.toml",
    // "examples/stm32f0/Cargo.toml",
    // "examples/stm32f1/Cargo.toml",
    // "examples/stm32f2/Cargo.toml",
    // "examples/stm32f3/Cargo.toml",
    // "examples/stm32f4/Cargo.toml",
    // "examples/stm32f7/Cargo.toml",
    // "examples/stm32g0/Cargo.toml",
    // "examples/stm32g4/Cargo.toml",
    // "examples/stm32h7/Cargo.toml",
    // "examples/stm32l0/Cargo.toml",
    // "examples/stm32l1/Cargo.toml",
    // "examples/stm32l4/Cargo.toml",
    // "examples/stm32l5/Cargo.toml",
    // "examples/stm32u5/Cargo.toml",
    // "examples/stm32wb/Cargo.toml",
    // "examples/stm32wb55/Cargo.toml",
    // "examples/stm32wl/Cargo.toml",
    // "examples/stm32wl55/Cargo.toml",
    // "examples/wasm/Cargo.toml",
  ],
  "rust-analyzer.imports.granularity.enforce": true,
  "rust-analyzer.imports.granularity.group": "module",
  "rust-analyzer.cargo.buildScripts.enable": true,
  "rust-analyzer.procMacro.attributes.enable": false,
}