Skip to content
Merged
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
3 changes: 0 additions & 3 deletions advanced/button-interrupt/exercise/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,3 @@ esp32-c3-dkc02-bsc = { path = "../../../common/lib/esp32-c3-dkc02-bsc" }
[build-dependencies]
embuild = "0.28"
anyhow = "1"

[patch.crates-io]
riscv = { git = "https://github.com/rust-embedded/riscv", rev = "396fb9b"}
3 changes: 0 additions & 3 deletions advanced/button-interrupt/solution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,3 @@ esp32-c3-dkc02-bsc = { path = "../../../common/lib/esp32-c3-dkc02-bsc" }
[build-dependencies]
embuild = "0.28"
anyhow = "1"

[patch.crates-io]
riscv = { git = "https://github.com/rust-embedded/riscv", rev = "396fb9b"}
7 changes: 2 additions & 5 deletions advanced/i2c-driver/solution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@ default = ["native"]
native = ["esp-idf-sys/native"]

[dependencies]
esp-idf-sys = { version = "0.31", features = ["binstart"] }
esp-idf-hal = "0.35.1"
esp-idf-sys = { version = "=0.31.5", features = ["binstart"] }
esp-idf-hal = "=0.38"
anyhow = "1"
embedded-hal = "0.2.7"


[build-dependencies]
embuild = "0.28"
anyhow = "1"

[patch.crates-io]
riscv = { git = "https://github.com/rust-embedded/riscv", rev = "396fb9b"}
9 changes: 3 additions & 6 deletions advanced/i2c-sensor-reading/solution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,17 @@ default = ["native"]
native = ["esp-idf-sys/native"]

[dependencies]
esp-idf-sys = { version = "0.31", features = ["binstart"] }
esp-idf-hal = "0.35.1"
esp-idf-sys = { version = "=0.31.5", features = ["binstart"] }
esp-idf-hal = "=0.38"
anyhow = "1"
embedded-hal = "0.2.7"
shtcx = "0.10.0"
lis3dh = "0.4.1"
shared-bus = "0.2.2"
shared-bus = "0.2.4"
imc42670p = { path = "../../../common/lib/imc42670p" }



[build-dependencies]
embuild = "0.28"
anyhow = "1"

[patch.crates-io]
riscv = { git = "https://github.com/rust-embedded/riscv", rev = "396fb9b"}
4 changes: 2 additions & 2 deletions book/src/03_3_2_http_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ The `get` function uses [as_ref()](https://doc.rust-lang.org/std/convert/trait.A


```Rust
let request = client.get(some_url_ref)?;
let request = client.get(url.as_ref())?;
// the parameter passed to `into_writer` is the number of bytes
// the client intends to send
let writer = request.into_writer(0)?;
let response = writer.into_response()?;
let response = writer.submit()?;
```
The parameter passed to `into_writer` is the number of bytes the client intends to send. Here we are not trying to send anything.

Expand Down
3 changes: 2 additions & 1 deletion book/src/03_4_http_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ We can also report dynamic information to a client. The skeleton includes a conf

## Troubleshooting

- `httpd_txrx: httpd_resp_send_err` can be solved by restarting, or `cargo clean` if nothing happens.
- `httpd_txrx: httpd_resp_send_err` can be solved by restarting, or `cargo clean` if nothing happens.
- Make sure computer and rust board are using the same wifi network.
Loading