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