Git Product home page Git Product logo

Comments (5)

makepaddev avatar makepaddev commented on June 26, 2024

I was able to fix the atomic error thanks to taiki-e/portable-atomic#148, however no i get this when compiling esp-wifi 0.3.0

error[E0432]: unresolved import crate::hal::interrupt
--> /Users/admin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-wifi-0.3.0/src/preempt/preempt_riscv.rs:3:17
|
3 | use crate::hal::interrupt::TrapFrame;
| ^^^^^^^^^ could not find interrupt in hal

error[E0432]: unresolved imports crate::hal::interrupt, crate::hal::macros::interrupt
--> /Users/admin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-wifi-0.3.0/src/timer/timer_esp32c3.rs:5:11
|
5 | hal::{interrupt, macros::interrupt, peripherals::Interrupt},
| ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no interrupt in the root
| |
| no interrupt in the root

from esp-wifi-sys.

bjoernQ avatar bjoernQ commented on June 26, 2024

esp-wifi releases are tied to esp-hal releases - they need to match! e.g. for 0.3.0 the C3 hal is 0.15.0: https://crates.io/crates/esp-wifi/0.3.0/dependencies

additionally the way how atomics are handled in esp-hal changed at some point in time - for later HAL versions atomic emulation was removed so you need to remove this: https://github.com/makepaddev/rc_radio/blob/a04fd8eec7278f7d924d11488b25bf384c249050/.cargo/config.toml#L13-L27

from esp-wifi-sys.

MabezDev avatar MabezDev commented on June 26, 2024

That message about the esp32s3 is coming from ROM code, which is burned into flash at the factory - this means you have an esp32s3 board, not a esp32c3 board. Try flashing the example targetting the esp32s3.

from esp-wifi-sys.

makepaddev avatar makepaddev commented on June 26, 2024

Sorry im mistaken, i had an S3 board plugged in, nevermind.

from esp-wifi-sys.

makepaddev avatar makepaddev commented on June 26, 2024

Alright it works! I have a working example. Thanks. Closing.

from esp-wifi-sys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.