-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2S driver i2s_std_clk_config_t macro compilation error #10975
Comments
For Arduino it should be fixed with this https://github.com/espressif/arduino-esp32/pull/10963/files |
Thanks, that's a workaround that should work for anyone using the Unfortunately I need to use DMA IRQ callbacks for BackgroundAudio so am using the bare IDF calls which are distributed in the Arduino code. ESP8266Audio also uses the raw IDF calls (I think when it was originally written there might not have been a stable ESP32 The upstream IDF should get the order correct in the first place, IMHO. I will, however, steal your workaround in the meantime! 👍 |
Arduino-ESP32 3.1.2 includes an IDF which has an error in the I2S default clock initialization macro. Replace the macro with the workaround identified by @Jason2866 in espressif/arduino-esp32#10975
Arduino-ESP32 3.1.2 includes an IDF which has an error in the I2S default clock initialization macro. Replace the macro with the workaround identified by @Jason2866 in espressif/arduino-esp32#10975
Arduino-ESP32 3.1.2 includes an IDF which has an error in the I2S default clock initialization macro. Replace the macro with the workaround identified by @Jason2866 in espressif/arduino-esp32#10975
Board
ESP32C6 Dev Module
Device Description
Plain generic ESP32-C6 board with no peripherals attached
Hardware Configuration
N/A
Version
v3.1.2
IDE Name
Arduino IDE
Operating System
Linux Ubuntu 22.04
Flash frequency
n/a
PSRAM enabled
no
Upload speed
n/a
Description
Setting default clocking on I2S using the IDF macros fails with a compilation error (initializer out of order in the IDF header itself). 3.1.1 release builds OK, only 3.1.2 with a newer IDF shows the issue.
I'm not sure if this needs to be tracked here or the IDF repo as the issue relates to an IDF header/macro with compile errors. I have opened espressif/esp-idf#15405 with similar details since this is an IDF header and not something the Arduino-ESP32 guys made.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: