This repository was archived by the owner on Aug 1, 2024. It is now read-only.
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
Build fails for esp32s2
#101
Closed
Description
Demo is failing for esp32s2
. cargo +esp build --target xtensa-esp32s2-espidf --release
results in:
error[E0425]: cannot find function, tuple struct or tuple variant `ToStd` in this scope
--> src/main.rs:1245:13
|
1245 | ToStd(req.into_reader()?).read_to_end(&mut body)?;
| ^^^^^ not found in this scope
error[E0599]: no method named `into_reader` found for struct `esp_idf_svc::http::server::EspHttpRequest` in the current scope
--> src/main.rs:1245:23
|
1245 | ToStd(req.into_reader()?).read_to_end(&mut body)?;
| ^^^^^^^^^^^ method not found in `esp_idf_svc::http::server::EspHttpRequest<'_>`
Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `rust-esp32-std-demo` due to 2 previous errors
Metadata
Metadata
Assignees
Labels
No labels