Skip to content

Why not use I2C IDF drivers for Vanilla ESP32? #5661

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

Closed
ianwillianb opened this issue Sep 12, 2021 · 3 comments
Closed

Why not use I2C IDF drivers for Vanilla ESP32? #5661

ianwillianb opened this issue Sep 12, 2021 · 3 comments
Assignees
Milestone

Comments

@ianwillianb
Copy link

Hi guys,
I noticed that all new espressif chips like, ESP32-S2, and ESP32-C3 are using the I2C driver from IDF in esp32-i2c-hal in the 2.0 release, but if the target platform is "Vanilla" ESP32 the stickbreaker implementation is in use.
Is there an specific reason why not to switch to a single implementation using IDF drivers?
Just of out curiosity. 🙂
Thanks for the amazing work.

@VojtechBartoska
Copy link
Contributor

@SuGlider Can you please take a look on this behavior regarding I2C driver?

@SuGlider SuGlider self-assigned this Sep 13, 2021
@SuGlider SuGlider added this to the 2.0.1 milestone Sep 13, 2021
@SuGlider
Copy link
Collaborator

@ianwillianb , This is exactly what I'm working on.
I just submitted a PR #5664 that shall implement you're talking about.
Could you please apply it to your environment and check if it support your needs for I2C?
Thanks.

@ianwillianb
Copy link
Author

@ianwillianb , This is exactly what I'm working on.
I just submitted a PR #5664 that shall implement you're talking about.
Could you please apply it to your environment and check if it support your needs for I2C?
Thanks.

That's really nice to know🙂
I'll definitely it give a try this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants