diff options
| author | Matt Ickstadt <[email protected]> | 2024-05-20 11:33:13 -0500 |
|---|---|---|
| committer | Matt Ickstadt <[email protected]> | 2024-05-20 11:33:13 -0500 |
| commit | a4350e039805e3471949893fc121f0b7e2542494 (patch) | |
| tree | e77156c79016fded3d55d90a2a57c98bbd59b1b3 /.vscode | |
| parent | daaaf50298144a245d026e70f4fa3c6eb856276a (diff) | |
vscode: improve docs in settings.json
Diffstat (limited to '.vscode')
| -rw-r--r-- | .vscode/settings.json | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index 220d25914..48d0957e6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json | |||
| @@ -9,12 +9,14 @@ | |||
| 9 | "rust-analyzer.check.noDefaultFeatures": true, | 9 | "rust-analyzer.check.noDefaultFeatures": true, |
| 10 | "rust-analyzer.cargo.noDefaultFeatures": true, | 10 | "rust-analyzer.cargo.noDefaultFeatures": true, |
| 11 | "rust-analyzer.showUnlinkedFileNotification": false, | 11 | "rust-analyzer.showUnlinkedFileNotification": false, |
| 12 | // uncomment the target of your chip. | 12 | // Uncomment the target of your chip. |
| 13 | //"rust-analyzer.cargo.target": "thumbv6m-none-eabi", | 13 | //"rust-analyzer.cargo.target": "thumbv6m-none-eabi", |
| 14 | //"rust-analyzer.cargo.target": "thumbv7m-none-eabi", | 14 | //"rust-analyzer.cargo.target": "thumbv7m-none-eabi", |
| 15 | "rust-analyzer.cargo.target": "thumbv7em-none-eabi", | 15 | "rust-analyzer.cargo.target": "thumbv7em-none-eabi", |
| 16 | //"rust-analyzer.cargo.target": "thumbv7em-none-eabihf", | ||
| 16 | //"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf", | 17 | //"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf", |
| 17 | "rust-analyzer.cargo.features": [ | 18 | "rust-analyzer.cargo.features": [ |
| 19 | // Comment out these features when working on the examples. Most example crates do not have any cargo features. | ||
| 18 | "stm32f446re", | 20 | "stm32f446re", |
| 19 | "time-driver-any", | 21 | "time-driver-any", |
| 20 | "unstable-pac", | 22 | "unstable-pac", |
| @@ -22,9 +24,10 @@ | |||
| 22 | "rt", | 24 | "rt", |
| 23 | ], | 25 | ], |
| 24 | "rust-analyzer.linkedProjects": [ | 26 | "rust-analyzer.linkedProjects": [ |
| 25 | // Uncomment ONE line for the chip you want to work on. | ||
| 26 | // This makes rust-analyzer work on the example crate and all its dependencies. | ||
| 27 | "embassy-stm32/Cargo.toml", | 27 | "embassy-stm32/Cargo.toml", |
| 28 | // To work on the examples, comment the line above and all of the cargo.features lines, | ||
| 29 | // then uncomment ONE line below to select the chip you want to work on. | ||
| 30 | // This makes rust-analyzer work on the example crate and all its dependencies. | ||
| 28 | // "examples/nrf52840-rtic/Cargo.toml", | 31 | // "examples/nrf52840-rtic/Cargo.toml", |
| 29 | // "examples/nrf5340/Cargo.toml", | 32 | // "examples/nrf5340/Cargo.toml", |
| 30 | // "examples/nrf-rtos-trace/Cargo.toml", | 33 | // "examples/nrf-rtos-trace/Cargo.toml", |
