Skip to content
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

How to solve i2c: This driver is an old driver #403

Open
bw0871 opened this issue Mar 11, 2025 · 1 comment
Open

How to solve i2c: This driver is an old driver #403

bw0871 opened this issue Mar 11, 2025 · 1 comment
Assignees
Labels
Waiting for feedback If it's in this state more than 2 months without feedback then the Issue/MR will be closed

Comments

@bw0871
Copy link

bw0871 commented Mar 11, 2025

I'm getting this ESP-IDF build warning:
i2c: This driver is an old driver, please migrate your application code to adapt driver/i2c_master.h
What's the correct pattern for register read operations using the new driver?

@martinberlin
Copy link
Collaborator

Please check latest Espressif documentation and propose a fix.
I tried using latest i2C master driver and don’t find the way to switch between different peripherals without reinstantiating part of the driver.

@martinberlin martinberlin added the Waiting for feedback If it's in this state more than 2 months without feedback then the Issue/MR will be closed label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for feedback If it's in this state more than 2 months without feedback then the Issue/MR will be closed
Projects
None yet
Development

No branches or pull requests

2 participants