UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266

Home Page:https://esp-idf-lib.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I2C driver is old driver in i2cdev

FilipVBrugghe opened this issue · comments

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.

I encounter the same issue using an AHT20 with aht and i2cdev with an esp32s3 (Lolin S3)

  1. 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.
  2. I am currently working on a painless transition to a new driver version while maintaining compatibility with all existing code.