I2C driver is old driver in i2cdev
FilipVBrugghe opened this issue · comments
FilipVBrugghe commented
The issue
When using the driver i2cdev I got the message "i2c: This driver is an old driver, please migrate your application code to adapt driver/i2c_master.h
"
Which SDK are you using?
esp-idf
Which version of SDK are you using?
master
Which build target have you used?
- esp32
- esp32s2
- esp32s3
- esp32c2
- esp8266
- other
Component causing the issue
ds3231 with i2cdev
Anything in the logs that might be useful for us?
The component i2cdev is using the old driver i2c.h which has a newer version i2c_master.h
Will the component i2cdev updated?
Additional information or context
No response
Confirmation
- This report is not a question nor a request for drivers.
Paulus H.J. Schulinck commented
I encounter the same issue using an AHT20 with aht and i2cdev with an esp32s3 (Lolin S3)
Ruslan V. Uss commented
- This is just a message warning you that you are using an old version of the driver. It does not affect the operation of the library and components in any way.
- I am currently working on a painless transition to a new driver version while maintaining compatibility with all existing code.