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.
i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
-
- Posts: 4
- Joined: Wed Mar 27, 2024 8:52 am
-
- Posts: 1991
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
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
-
- 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`
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)
esc + save (y)
and then:
idf.py build
Hope this helps.
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)
esc + save (y)
and then:
idf.py build
Hope this helps.
Who is online
Users browsing this forum: Bing [Bot], Corand and 70 guests