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.
After cargo update and cargo clean. Target is the default xtensa-esp32-espidf. Command is just cargo build, ESP-IDF exported beforehand (release/v4.4).
error[E0432]: unresolved import `embedded_svc::utils::atomic_swap`
--> /home/tcb/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-svc-0.41.3/src/timer.rs:240:30
|
240 | use embedded_svc::utils::atomic_swap::AtomicOption;
| ^^^^^^^^^^^ could not find `atomic_swap` in `utils`
error[E0107]: this struct takes 1 generic argument but 2 generic arguments were supplied
--> /home/tcb/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-idf-svc-0.41.3/src/timer.rs:243:53
|
243 | type AsyncWrapper<S> = AsyncTimerService<S, AtomicSignal<AtomicOption, ()>>;
| ^^^^^^^^^^^^ -- help: remove this generic argument
| |
| expected 1 generic argument
|
note: struct defined here, with 1 generic parameter: `T`
--> /home/tcb/.cargo/registry/src/github.com-1ecc6299db9ec823/embedded-svc-0.21.3/src/utils/asyncs/signal.rs:129:16
|
129 | pub struct AtomicSignal<T> {
| ^^^^^^^^^^^^ -
Some errors have detailed explanations: E0107, E0432.
For more information about an error, try `rustc --explain E0107`.
error: could not compile `esp-idf-svc` due to 2 previous errors
After
cargo update
andcargo clean
. Target is the defaultxtensa-esp32-espidf
. Command is justcargo build
, ESP-IDF exported beforehand (release/v4.4).rustc:
1.61.0-nightly (7476f4919 2022-05-17)
esp-idf:release/v4.4
(ae0e3e2
)Is it me (again!)?