mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-30 05:40:39 +00:00
Use vscode multi-root ws for esp-hal
This commit is contained in:
parent
22ac479bff
commit
4c943378f8
23
esp-hal-common/.vscode/esp32.settings.json
vendored
23
esp-hal-common/.vscode/esp32.settings.json
vendored
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"rust-analyzer.cargo.features": [
|
|
||||||
"esp32"
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.allFeatures": false,
|
|
||||||
"editor.formatOnSave": false,
|
|
||||||
"rust-analyzer.checkOnSave.allTargets": true,
|
|
||||||
"rust-analyzer.checkOnSave.allFeatures": false,
|
|
||||||
"rust-analyzer.checkOnSave.overrideCommand": [
|
|
||||||
"cargo",
|
|
||||||
"check",
|
|
||||||
"--features",
|
|
||||||
"esp32",
|
|
||||||
"--message-format=json",
|
|
||||||
"-Z",
|
|
||||||
"build-std=core",
|
|
||||||
"--target",
|
|
||||||
"xtensa-esp32-none-elf",
|
|
||||||
"--examples",
|
|
||||||
"--lib",
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.buildScripts.enable": false
|
|
||||||
}
|
|
23
esp-hal-common/.vscode/esp32c3.settings.json
vendored
23
esp-hal-common/.vscode/esp32c3.settings.json
vendored
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"rust-analyzer.cargo.features": [
|
|
||||||
"esp32c3"
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.allFeatures": false,
|
|
||||||
"editor.formatOnSave": true,
|
|
||||||
"rust-analyzer.checkOnSave.allTargets": true,
|
|
||||||
"rust-analyzer.checkOnSave.allFeatures": false,
|
|
||||||
"rust-analyzer.checkOnSave.overrideCommand": [
|
|
||||||
"cargo",
|
|
||||||
"check",
|
|
||||||
"--features",
|
|
||||||
"esp32c3",
|
|
||||||
"--message-format=json",
|
|
||||||
"-Z",
|
|
||||||
"build-std=core",
|
|
||||||
"--target",
|
|
||||||
"riscv32imc-unknown-none-elf",
|
|
||||||
"--examples",
|
|
||||||
"--lib",
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.buildScripts.enable": false
|
|
||||||
}
|
|
23
esp-hal-common/.vscode/esp32s2.settings.json
vendored
23
esp-hal-common/.vscode/esp32s2.settings.json
vendored
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"rust-analyzer.cargo.features": [
|
|
||||||
"esp32s2"
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.allFeatures": false,
|
|
||||||
"editor.formatOnSave": false,
|
|
||||||
"rust-analyzer.checkOnSave.allTargets": true,
|
|
||||||
"rust-analyzer.checkOnSave.allFeatures": false,
|
|
||||||
"rust-analyzer.checkOnSave.overrideCommand": [
|
|
||||||
"cargo",
|
|
||||||
"check",
|
|
||||||
"--features",
|
|
||||||
"esp32s2",
|
|
||||||
"--message-format=json",
|
|
||||||
"-Z",
|
|
||||||
"build-std=core",
|
|
||||||
"--target",
|
|
||||||
"xtensa-esp32s2-none-elf",
|
|
||||||
"--examples",
|
|
||||||
"--lib",
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.buildScripts.enable": false
|
|
||||||
}
|
|
23
esp-hal-common/.vscode/esp32s3.settings.json
vendored
23
esp-hal-common/.vscode/esp32s3.settings.json
vendored
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"rust-analyzer.cargo.features": [
|
|
||||||
"esp32s3"
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.allFeatures": false,
|
|
||||||
"editor.formatOnSave": false,
|
|
||||||
"rust-analyzer.checkOnSave.allTargets": true,
|
|
||||||
"rust-analyzer.checkOnSave.allFeatures": false,
|
|
||||||
"rust-analyzer.checkOnSave.overrideCommand": [
|
|
||||||
"cargo",
|
|
||||||
"check",
|
|
||||||
"--features",
|
|
||||||
"esp32s3",
|
|
||||||
"--message-format=json",
|
|
||||||
"-Z",
|
|
||||||
"build-std=core",
|
|
||||||
"--target",
|
|
||||||
"xtensa-esp32s3-none-elf",
|
|
||||||
"--examples",
|
|
||||||
"--lib",
|
|
||||||
],
|
|
||||||
"rust-analyzer.cargo.buildScripts.enable": false
|
|
||||||
}
|
|
31
esp-hal.code-workspace
Normal file
31
esp-hal.code-workspace
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": "esp-hal-common"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "esp32-hal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "esp32c3-hal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "esp32s2-hal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "esp32s3-hal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "esp-hal-procmacros"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"rust-analyzer.checkOnSave.allTargets": false,
|
||||||
|
"rust-analyzer.imports.granularity.enforce": true,
|
||||||
|
"rust-analyzer.imports.granularity.group": "crate",
|
||||||
|
"rust-analyzer.cargo.buildScripts.enable": true,
|
||||||
|
"rust-analyzer.procMacro.attributes.enable": true,
|
||||||
|
"rust-analyzer.procMacro.enable": true,
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user