-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any examples for ESP32? #5
Comments
Correct, the project settings in the repo are set up for the esp32c3. To start from scratch though with any ESP device, espressif provides tools to make it a breeze. Not sure if you saw how to generate projects with Be mindful though that with the base spawned project, if you want to do embassy, you still need to modify the base |
That is my main gripe, the generator does not include embassy. The esp-hal examples import an embassy crate from within esp-hal crate. That confused me a bit. There aren't many guides or documentation to begin with for this stuff since Rust on embedded stuff is still relatively new. |
Certainly, I spent an hour myself the other day trying to fix dependencies on a new project where I used the latest crate versions. It turns out that some feature activations moved between crates. Until the project becomes a bit more stable, unfortunately, this experience will remain the same. There are still a lot of moving parts and the latest documentation is not easily accessible. In the esp-hal, embassy necessary components are incorporated as features. You'd have to activate the correct components to get started. This is in addition to adjusting the
|
Hello,
I am trying to run Embassy on an ESP32, not ESP32C3. I was able to run the examples from the esp-hal repo, but I wanted to write something from scratch. I tried using code from your repo but looks like it's not working because it targets the wrong arch for my use case.
I would really appreciate it if you could provide some ESP32 examples as well!
The text was updated successfully, but these errors were encountered: