Skip to content

update VSCode configuration and dependencies; remove probe-rs debugge… #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"recommendations": [
"rust-lang.rust-analyzer",
"probe-rs.probe-rs-debugger",
]
}
47 changes: 3 additions & 44 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,4 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "probe-rs-debug",
"request": "launch",
"name": "Launch",
"cwd": "${workspaceFolder}",
"chip": "esp32s3",
// probe field only needed if multiple probes connected. <Serial> is the MAC address of your esp in case of usb-jtag
// "probe": "VID:PID:303a:1001:30:30:F9:5A:5E:84", //!MODIFY (or remove) | optional field
"flashingConfig": {
"flashingEnabled": true,
"haltAfterReset": true,
"formatOptions": {
"binaryFormat": "idf"
}
},
"coreConfigs": [
{
"coreIndex": 0,
"programBinary": "target/xtensa-esp32s3-none-elf/debug/esp32-homecontrol", //!MODIFY
// svdFiles describe the hardware register names off the esp peripherals, such as the LEDC peripheral.
// They can be downloaded seperatly @ https://github.com/espressif/svd/tree/main/svd
//"svdFile": "${workspaceFolder}/esp32c3.svd" //!MODIFY (or remove) | optional field
}
]
},
{
"type": "probe-rs-debug",
"request": "attach",
"name": "Attach",
"cwd": "${workspaceFolder}",
"chip": "esp32s3", //!MODIFY
//"probe": "VID:PID:303a:1001:30:30:F9:5A:5E:84", //!MODIFY (or remove) | optional field
"coreConfigs": [
{
"coreIndex": 0,
"programBinary": "target/xtensa-esp32s3-none-elf/release/esp32-homecontrol", //!MODIFY
// "svdFile": "${workspaceFolder}/esp32c3.svd" //!MODIFY (or remove) | optional field
}
]
}
]
}
"version": "0.2.0",
"configurations": []
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"rust-analyzer.cargo.allTargets": false,
"rust-analyzer.cargo.target": "xtensa-esp32s3-none-elf",
"rust-analyzer.cargo.allTargets": false,
"rust-analyzer.cargo.target": "xtensa-esp32s3-none-elf"
}
99 changes: 53 additions & 46 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ esp-backtrace = { version = "0.15.1", features = [
] }
esp-hal = { version = "1.0.0-beta.0", features = ["esp32s3", "unstable"] }
esp-alloc = { version = "0.7.0" }
embassy-net = { version = "0.6.0", features = [
embassy-net = { version = "0.7.0", features = [
"tcp",
"udp",
"dns",
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ cd esp32-homecontrol-no-std-rs

See the [ESP-RS book](https://docs.esp-rs.org/book/introduction.html).

Install espup: [espup GitHub](https://github.com/esp-rs/espup)
Install probe-rs: [probe-rs GitHub](https://github.com/probe-rs/probe-rs)
Install espup: [espup GitHub](https://github.com/esp-rs/espup)

```sh
espup install
Expand Down
Loading