I2S clock initializer order error, compiler error on any I2S code (IDFGH-14660) #15405
Closed
3 tasks done
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
idf-release_v5.3-489d7a2b-v1
Operating System used.
Linux
How did you build your project?
Other (please specify in More Information)
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Compiling the following should succeed:
What is the actual behavior?
The fields are initialized out of order in the
#define
macro leading to a compilation failure:Steps to reproduce.
/home/earle/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.3-489d7a2b-v1/esp32c6/include/esp_driver_i2s/include/driver/i2s_std.h:220:1: error: designator order for field 'i2s_std_clk_config_t::ext_clk_freq_hz' does not match declaration order in 'i2s_std_clk_config_t'
Build or installation Logs.
More Information.
This was seen using the Arduino-ESP32 3.1.2 release but is coming from the IDF library headers they distribute. However, it is using the IDF raw driver for I2S access and this should show on bare
cmake
built applications.This was also seen and reported here (but in a closed issue so maybe missed): #15271 (comment)
The text was updated successfully, but these errors were encountered: