i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`

robizzar72
Posts: 4
Joined: Wed Mar 27, 2024 8:52 am

i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`

Postby robizzar72 » Fri Mar 29, 2024 7:32 am

In my ESP32-S3, using ESP-IDF 5.2 I got whit warning at boot:

W (814) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`

I have to migrate my code, but I can't find any example on how to use this new driver.
Did you find it?
Thanks.


egionet
Posts: 7
Joined: Thu Sep 26, 2024 4:34 am

Re: i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`

Postby egionet » Fri Oct 11, 2024 3:44 am

A few examples utilizing the esp-idf 5.2.2 design pattern with i2c_master.h are available here: https://github.com/K0I05/ESP32-S3_ESP-IDF_COMPONENTS

HobbyCoder777
Posts: 1
Joined: Tue Feb 04, 2025 4:03 am

Re: i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`

Postby HobbyCoder777 » Tue Feb 04, 2025 4:28 am

I think I maybe able to give back this time.
I had the same problem but I found that if I go into menuconfig and make a change to Audio Media HAL and go into Audio hardware board and change it to the correct board (ESP32-S3-Korvo-2 in my case) that driver error goes away.

So it's:

idf.py menuconfig

then:

Audio Media HAL->Audio hardware board-->ESP32-S3-Korvo-2 (or select your board)
Korvo2.jpg
Korvo2.jpg (46.61 KiB) Viewed 638 times
esc + save (y)


and then:

idf.py build

Hope this helps.

Who is online

Users browsing this forum: Bing [Bot], Corand and 70 guests