2020-09-22 18:03:43 +02:00
|
|
|
{
|
|
|
|
"editor.formatOnSave": true,
|
2023-03-19 22:38:34 +01:00
|
|
|
"[toml]": {
|
|
|
|
"editor.formatOnSave": false
|
|
|
|
},
|
2023-12-04 13:53:04 +01:00
|
|
|
"[markdown]": {
|
|
|
|
"editor.formatOnSave": false
|
|
|
|
},
|
2023-01-11 17:43:12 +01:00
|
|
|
"rust-analyzer.check.allTargets": false,
|
|
|
|
"rust-analyzer.check.noDefaultFeatures": true,
|
2021-07-15 05:43:06 +02:00
|
|
|
"rust-analyzer.cargo.noDefaultFeatures": true,
|
2023-08-15 14:15:29 +02:00
|
|
|
"rust-analyzer.showUnlinkedFileNotification": false,
|
|
|
|
// uncomment the target of your chip.
|
|
|
|
//"rust-analyzer.cargo.target": "thumbv6m-none-eabi",
|
|
|
|
//"rust-analyzer.cargo.target": "thumbv7m-none-eabi",
|
|
|
|
"rust-analyzer.cargo.target": "thumbv7em-none-eabi",
|
2022-12-26 03:33:49 +01:00
|
|
|
//"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf",
|
2021-07-14 21:58:07 +02:00
|
|
|
"rust-analyzer.cargo.features": [
|
2023-08-15 14:15:29 +02:00
|
|
|
// Uncomment if the example has a "nightly" feature.
|
2023-12-19 16:42:51 +01:00
|
|
|
"nightly",
|
2021-11-27 02:21:53 +01:00
|
|
|
],
|
|
|
|
"rust-analyzer.linkedProjects": [
|
2023-08-15 14:15:29 +02:00
|
|
|
// Uncomment ONE line for the chip you want to work on.
|
|
|
|
// This makes rust-analyzer work on the example crate and all its dependencies.
|
2023-12-19 16:42:51 +01:00
|
|
|
"examples/nrf52840/Cargo.toml",
|
2023-08-15 14:15:29 +02:00
|
|
|
// "examples/nrf52840-rtic/Cargo.toml",
|
2023-04-16 18:06:24 +02:00
|
|
|
// "examples/nrf5340/Cargo.toml",
|
2022-10-19 10:36:18 +02:00
|
|
|
// "examples/nrf-rtos-trace/Cargo.toml",
|
2021-12-10 02:33:45 +01:00
|
|
|
// "examples/rp/Cargo.toml",
|
|
|
|
// "examples/std/Cargo.toml",
|
2023-04-16 18:06:24 +02:00
|
|
|
// "examples/stm32c0/Cargo.toml",
|
2021-12-10 02:33:45 +01:00
|
|
|
// "examples/stm32f0/Cargo.toml",
|
2022-12-26 03:33:49 +01:00
|
|
|
// "examples/stm32f1/Cargo.toml",
|
2022-10-19 10:36:18 +02:00
|
|
|
// "examples/stm32f2/Cargo.toml",
|
|
|
|
// "examples/stm32f3/Cargo.toml",
|
2023-06-28 03:30:58 +02:00
|
|
|
// "examples/stm32f334/Cargo.toml",
|
2021-12-10 02:33:45 +01:00
|
|
|
// "examples/stm32f4/Cargo.toml",
|
|
|
|
// "examples/stm32f7/Cargo.toml",
|
|
|
|
// "examples/stm32g0/Cargo.toml",
|
|
|
|
// "examples/stm32g4/Cargo.toml",
|
2023-04-16 18:06:24 +02:00
|
|
|
// "examples/stm32h5/Cargo.toml",
|
2023-12-19 16:42:51 +01:00
|
|
|
// "examples/stm32h7/Cargo.toml",
|
2021-12-10 02:33:45 +01:00
|
|
|
// "examples/stm32l0/Cargo.toml",
|
|
|
|
// "examples/stm32l1/Cargo.toml",
|
|
|
|
// "examples/stm32l4/Cargo.toml",
|
2022-12-26 03:33:49 +01:00
|
|
|
// "examples/stm32l5/Cargo.toml",
|
2021-12-10 02:33:45 +01:00
|
|
|
// "examples/stm32u5/Cargo.toml",
|
2022-10-19 10:36:18 +02:00
|
|
|
// "examples/stm32wb/Cargo.toml",
|
|
|
|
// "examples/stm32wl/Cargo.toml",
|
2021-12-10 02:33:45 +01:00
|
|
|
// "examples/wasm/Cargo.toml",
|
2021-07-14 21:58:07 +02:00
|
|
|
],
|
2021-02-02 05:14:52 +01:00
|
|
|
}
|