i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
Posted: Fri Mar 29, 2024 7:32 am
by robizzar72
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.
Re: i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
Posted: Sat Mar 30, 2024 12:19 pm
by MicroController
Re: i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
Posted: Fri Oct 11, 2024 3:44 am
by egionet
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
Re: i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
Posted: Tue Feb 04, 2025 4:28 am
by HobbyCoder777
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 (46.61 KiB) Viewed 3683 times
esc + save (y)
and then:
idf.py build
Hope this helps.