-
Notifications
You must be signed in to change notification settings - Fork 195
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
WIP Feature/spi display #117
Conversation
Dependencies that are only for the examples should go to the
There shouldn't be any need to touch it |
One more thing: we shouldn't add |
I'm a little concerned that this doesn't really add anything of value of the existing |
Maybe we could go for another repository hosting examples that are slightly more involved than what we have (and want to have) here? (Examples which are between "show how the API works" and "show how to implement some solution") |
I think that's a better approach. To me the examples exist for two reasons:
|
@bjoernQ I tried to revert
Please, do you know @MabezDev which of the changes in |
Ah sorry - wasn't aware that one of the dependencies needs atomics - then you need that and then it's even more needed to move those examples to a separate repository, I guess |
@jessebraham There is already an i2c_display example in the repo. The idea is to provide a similar quick start for Embedded Graphics and Espressif boards via SPI. IMO it's worth checking also builds with Embedded Graphics since it's defacto Rust standard. I see no problem moving it to another repo since graphics are slightly more elaborate than bare minimum communication with SPI. We might consider something like esp-graphical-demos and add more examples that pull other crates and handle more advanced stuff like double-buffering, which is required to build anything responsive. I welcome any suggestions. Regarding boards/chips: Sure, I plan to add also S3, Kaluga, and ESP32. I had only good old S2 with me today to verify runtime. |
The new repo should resemble something like this https://github.com/tuupola/esp_effects |
I'm going to close this, but I have created esp-rs/esp-hal-examples which can be the home for projects like this. We can get your example hosted in there along with some other more interesting demo projects. |
Work in progress.
I am adding the ESP32-S2 example.
BTW: How do you handle dependencies for specific examples? I've added them to the main dependencies. Any better approach?
Is it necessary to change also
.cargo/config.toml
?Sorry for the indentation in Cargo.toml. VS Code, for some reason, tries to indent everything on save. I will revert the indentation and clean up some code.