I2S v5.1 upgrade: conflicts
Posted: 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
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