Skip to content

Fail to build "display" & "button": esp-idf-hal fail to build #1

@T1B0

Description

@T1B0

Hello, i tried to build "display" & "button" code from a clean clone of your repo and both build fails with the same error:
i do have espup / esptool (i can successfully build other esp32 project)

error[E0432]: unresolved import `core::sync::atomic::AtomicU64`
 --> /home/foulek/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-hal-0.41.2/src/interrupt.rs:1:26
  |
1 | use core::sync::atomic::{AtomcU64, Ordering};
  |                          ^^^^^^^^^
  |                          |
  |                          no `AtomicU64` in `sync::atomic`
  |                          help: a similar name exists in the module: `AtomicU32`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `esp-idf-hal` (lib) due to 1 previous error

i'm kind of new on both rust & esp32 dev i have no idea what i'm doing wrong :)

$ rustc --version
rustc 1.80.0 (051478957 2024-07-21)

$ espup --version
espup 0.12.2

thanks for this repo it is very much educational though <3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions