2020-09-22 16:03:43 +00:00
|
|
|
{
|
|
|
|
"editor.formatOnSave": true,
|
2021-05-02 00:19:14 +00:00
|
|
|
"rust-analyzer.checkOnSave.allTargets": false,
|
2022-02-11 23:24:04 +00:00
|
|
|
"rust-analyzer.checkOnSave.noDefaultFeatures": true,
|
2021-07-15 03:43:06 +00:00
|
|
|
"rust-analyzer.cargo.noDefaultFeatures": true,
|
2022-02-11 23:24:04 +00:00
|
|
|
"rust-analyzer.procMacro.enable": true,
|
2021-09-10 23:53:53 +00:00
|
|
|
"rust-analyzer.cargo.target": "thumbv7em-none-eabi",
|
2021-07-14 19:58:07 +00:00
|
|
|
"rust-analyzer.cargo.features": [
|
|
|
|
// These are needed to prevent embassy-net from failing to build
|
2021-11-27 01:21:53 +00:00
|
|
|
//"embassy-net/medium-ethernet",
|
|
|
|
//"embassy-net/tcp",
|
|
|
|
//"embassy-net/pool-16",
|
2022-07-29 19:58:35 +00:00
|
|
|
//"time-tick-16mhz",
|
|
|
|
//"defmt-timestamp-uptime",
|
2022-02-11 23:24:04 +00:00
|
|
|
"nightly",
|
2022-07-29 19:58:35 +00:00
|
|
|
//"unstable-traits",
|
2021-11-27 01:21:53 +00:00
|
|
|
],
|
|
|
|
"rust-analyzer.linkedProjects": [
|
2021-12-08 23:40:03 +00:00
|
|
|
// Declare for the target you wish to develop
|
2022-07-29 19:58:35 +00:00
|
|
|
//"embassy-executor/Cargo.toml",
|
2022-08-22 19:46:09 +00:00
|
|
|
//"embassy-sync/Cargo.toml",
|
2021-12-10 01:33:45 +00:00
|
|
|
"examples/nrf/Cargo.toml",
|
|
|
|
// "examples/rp/Cargo.toml",
|
|
|
|
// "examples/std/Cargo.toml",
|
|
|
|
// "examples/stm32f0/Cargo.toml",
|
|
|
|
// "examples/stm32f1/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/stm32u5/Cargo.toml",
|
|
|
|
// "examples/stm32wb55/Cargo.toml",
|
|
|
|
// "examples/stm32wl55/Cargo.toml",
|
|
|
|
// "examples/wasm/Cargo.toml",
|
2021-07-14 19:58:07 +00:00
|
|
|
],
|
2022-05-26 16:54:58 +00:00
|
|
|
"rust-analyzer.imports.granularity.enforce": true,
|
|
|
|
"rust-analyzer.imports.granularity.group": "module",
|
|
|
|
"rust-analyzer.cargo.buildScripts.enable": true,
|
|
|
|
"rust-analyzer.procMacro.attributes.enable": false,
|
2021-02-02 04:14:52 +00:00
|
|
|
}
|