I2S v5.1 upgrade: conflicts

Matt141
Posts: 8
Joined: Fri Oct 04, 2019 2:24 pm

I2S v5.1 upgrade: conflicts

Postby Matt141 » Wed Aug 16, 2023 3:04 pm

Hi ESP32 users,

I upgraded esp-idf to v5.1 et upgraded I2S by replacing driver/i2s.h by driver/i2s_std.h in my project. Nevertheless, at runtime, I get the following error message: "CONFLICT! The new i2s driver can't work along with the legacy i2s driver".

By looking at check_i2s_driver_conflict function in i2s_legacy.c file, this error happens when i2s_del_channel is defined (in th new I2S). Commenting check_i2s_driver_conflict created a hardfault, so there must be an isssue somewhere, but I don't know where to search.

Any idea why "CONFLICT! The new i2s driver can't work along with the legacy i2s driver" is triggered despite having replaced driver/i2s.h by driver/i2s_std.h in my project ?

Regards,
Matt

Matt141
Posts: 8
Joined: Fri Oct 04, 2019 2:24 pm

Re: I2S v5.1 upgrade: conflicts

Postby Matt141 » Thu Aug 24, 2023 9:58 am

I had to comment out

Code: Select all

"deprecated/i2s_legacy.c"
in CMakeLists.txt in esp-idf/components/driver

It doesn't seem right to modify a file esp-idf.

Who is online

Users browsing this forum: ESP_Sprite and 331 guests