2020-09-22 16:03:43 +00:00
|
|
|
{
|
2023-03-19 21:38:34 +00:00
|
|
|
"[toml]": {
|
|
|
|
"editor.formatOnSave": false
|
|
|
|
},
|
2023-12-04 12:53:04 +00:00
|
|
|
"[markdown]": {
|
|
|
|
"editor.formatOnSave": false
|
|
|
|
},
|
2023-01-11 16:43:12 +00:00
|
|
|
"rust-analyzer.check.allTargets": false,
|
|
|
|
"rust-analyzer.check.noDefaultFeatures": true,
|
2021-07-15 03:43:06 +00:00
|
|
|
"rust-analyzer.cargo.noDefaultFeatures": true,
|
2023-08-15 12:15:29 +00:00
|
|
|
"rust-analyzer.showUnlinkedFileNotification": false,
|
2024-05-20 16:33:13 +00:00
|
|
|
// Uncomment the target of your chip.
|
2023-08-15 12:15:29 +00:00
|
|
|
//"rust-analyzer.cargo.target": "thumbv6m-none-eabi",
|
|
|
|
//"rust-analyzer.cargo.target": "thumbv7m-none-eabi",
|
|
|
|
"rust-analyzer.cargo.target": "thumbv7em-none-eabi",
|
2024-05-20 16:33:13 +00:00
|
|
|
//"rust-analyzer.cargo.target": "thumbv7em-none-eabihf",
|
2022-12-26 02:33:49 +00:00
|
|
|
//"rust-analyzer.cargo.target": "thumbv8m.main-none-eabihf",
|
2024-01-05 22:49:10 +00:00
|
|
|
"rust-analyzer.cargo.features": [
|
2024-05-20 16:33:13 +00:00
|
|
|
// Comment out these features when working on the examples. Most example crates do not have any cargo features.
|
2024-04-15 19:19:17 +00:00
|
|
|
"stm32f446re",
|
2024-01-05 22:49:10 +00:00
|
|
|
"time-driver-any",
|
|
|
|
"unstable-pac",
|
|
|
|
"exti",
|
2024-04-15 19:19:17 +00:00
|
|
|
"rt",
|
2024-01-05 22:49:10 +00:00
|
|
|
],
|
2021-11-27 01:21:53 +00:00
|
|
|
"rust-analyzer.linkedProjects": [
|
2024-01-05 22:49:10 +00:00
|
|
|
"embassy-stm32/Cargo.toml",
|
2024-05-20 16:33:13 +00:00
|
|
|
// To work on the examples, comment the line above and all of the cargo.features lines,
|
|
|
|
// then uncomment ONE line below to select the chip you want to work on.
|
|
|
|
// This makes rust-analyzer work on the example crate and all its dependencies.
|
2023-08-15 12:15:29 +00:00
|
|
|
// "examples/nrf52840-rtic/Cargo.toml",
|
2023-04-16 16:06:24 +00:00
|
|
|
// "examples/nrf5340/Cargo.toml",
|
2022-10-19 08:36:18 +00:00
|
|
|
// "examples/nrf-rtos-trace/Cargo.toml",
|
2021-12-10 01:33:45 +00:00
|
|
|
// "examples/rp/Cargo.toml",
|
|
|
|
// "examples/std/Cargo.toml",
|
2023-04-16 16:06:24 +00:00
|
|
|
// "examples/stm32c0/Cargo.toml",
|
2021-12-10 01:33:45 +00:00
|
|
|
// "examples/stm32f0/Cargo.toml",
|
2022-12-26 02:33:49 +00:00
|
|
|
// "examples/stm32f1/Cargo.toml",
|
2022-10-19 08:36:18 +00:00
|
|
|
// "examples/stm32f2/Cargo.toml",
|
|
|
|
// "examples/stm32f3/Cargo.toml",
|
2023-06-28 01:30:58 +00:00
|
|
|
// "examples/stm32f334/Cargo.toml",
|
2021-12-10 01:33:45 +00:00
|
|
|
// "examples/stm32f4/Cargo.toml",
|
|
|
|
// "examples/stm32f7/Cargo.toml",
|
|
|
|
// "examples/stm32g0/Cargo.toml",
|
|
|
|
// "examples/stm32g4/Cargo.toml",
|
2023-04-16 16:06:24 +00:00
|
|
|
// "examples/stm32h5/Cargo.toml",
|
2021-12-10 01:33:45 +00:00
|
|
|
// "examples/stm32h7/Cargo.toml",
|
|
|
|
// "examples/stm32l0/Cargo.toml",
|
|
|
|
// "examples/stm32l1/Cargo.toml",
|
|
|
|
// "examples/stm32l4/Cargo.toml",
|
2022-12-26 02:33:49 +00:00
|
|
|
// "examples/stm32l5/Cargo.toml",
|
2021-12-10 01:33:45 +00:00
|
|
|
// "examples/stm32u5/Cargo.toml",
|
2022-10-19 08:36:18 +00:00
|
|
|
// "examples/stm32wb/Cargo.toml",
|
|
|
|
// "examples/stm32wl/Cargo.toml",
|
2021-12-10 01:33:45 +00:00
|
|
|
// "examples/wasm/Cargo.toml",
|
2021-07-14 19:58:07 +00:00
|
|
|
],
|
2023-12-21 13:57:49 +00:00
|
|
|
}
|