Rust on ESP32 STD demo app. A demo STD binary crate for the ESP32[XX] and ESP-IDF, which connects to WiFi, Ethernet, drives a small HTTP server and draws on a LED screen.
^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: eth_mac_config_t
::: /home/esp/rust-esp32-std-demo/target/riscv32imc-esp-espidf/release/build/esp-idf-sys-5186fd7313a5cecf/out/bindings.rs:3:1263247
|
3 | ...(C)] # [derive (Debug , Default , Copy , Clone)] pub struct eth_mac_config_t { # [doc = "< Software reset timeout value (Unit: ms)"] pub sw_reset_timeout_ms : u32 , # [doc = "< Stack size of t...
| --------------------------- similarly named struct eth_mac_config_t defined here
error[E0422]: cannot find struct, variant or union type eth_esp32_emac_config_t in this scope
--> /home/esp/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-svc-0.45.0/src/eth.rs:751:9
751
eth_esp32_emac_config_t {
^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: eth_mac_config_t
::: /home/esp/rust-esp32-std-demo/target/riscv32imc-esp-espidf/release/build/esp-idf-sys-5186fd7313a5cecf/out/bindings.rs:3:1263247
|
3 | ...(C)] # [derive (Debug , Default , Copy , Clone)] pub struct eth_mac_config_t { # [doc = "< Software reset timeout value (Unit: ms)"] pub sw_reset_timeout_ms : u32 , # [doc = "< Stack size of t...
| --------------------------- similarly named struct eth_mac_config_t defined here
Some errors have detailed explanations: E0412, E0422.
For more information about an error, try rustc --explain E0412.
error: could not compile esp-idf-svc due to 2 previous errors
esp-idf version: 5.0 docker: https://hub.docker.com/layers/espressif/idf-rust/esp32c3_latest/images/sha256-b551d30acd5ad97f67df0fef8f3896877639be684667fcab618fc58d09318138?context=explore
eth_esp32_emac_config_t
in this scope --> /home/esp/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-svc-0.45.0/src/eth.rs:750:62eth_mac_config_t
::: /home/esp/rust-esp32-std-demo/target/riscv32imc-esp-espidf/release/build/esp-idf-sys-5186fd7313a5cecf/out/bindings.rs:3:1263247 | 3 | ...(C)] # [derive (Debug , Default , Copy , Clone)] pub struct eth_mac_config_t { # [doc = "< Software reset timeout value (Unit: ms)"] pub sw_reset_timeout_ms : u32 , # [doc = "< Stack size of t... | --------------------------- similarly named struct
eth_mac_config_t
defined hereeth_esp32_emac_config_t
in this scope --> /home/esp/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-svc-0.45.0/src/eth.rs:751:9eth_mac_config_t
::: /home/esp/rust-esp32-std-demo/target/riscv32imc-esp-espidf/release/build/esp-idf-sys-5186fd7313a5cecf/out/bindings.rs:3:1263247 | 3 | ...(C)] # [derive (Debug , Default , Copy , Clone)] pub struct eth_mac_config_t { # [doc = "< Software reset timeout value (Unit: ms)"] pub sw_reset_timeout_ms : u32 , # [doc = "< Stack size of t... | --------------------------- similarly named struct
eth_mac_config_t
defined hereSome errors have detailed explanations: E0412, E0422. For more information about an error, try
rustc --explain E0412
. error: could not compileesp-idf-svc
due to 2 previous errors