-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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 compilation fails #8107
Comments
Looks like Arduino IDE is not actually compiling the I2S library for some reason. Can you please use File->Prefs->Enable Verbose Output->Compile and rerun and capture the entire build log (i.e. set the preference, exit the ide, restart the ide, and build)? The I2S examples are part of CI run under Linux without incident, but maybe there is some Windows-only issue (case sensitivity/etc.) which this log would show. |
An "i2S.h" header was presesnt in prior cores, but this conflicts with the Arduino standard I2S.h header for the I2S class under Windows (because of case insensitivity). Initial 3.0.0 release has a redirect "i2s.h" file in the cores directory to redirect to the "I2S.h" file in the library, but under Windows this resulted in the IDE not building the I2S library and link errors. Remove the offending header. Code will need to mode to including "I2S.h" instead (which will include both the Arduino class as well as the low-level definitions). Fixes esp8266#8107
Yup, it's Windows case-insensitivity causing the issue. The IDE was not detecting the library as required and therefore not building it because it opened "i2s.h" and not "I2S.h". Try #8108 (or just remove |
Renamed |
* BREAKING - "i2s.h" removed, I2S library added An "i2S.h" header was present in prior cores, but this conflicts with the Arduino standard I2S.h header for the I2S class under Windows (because of case insensitivity). Initial 3.0.0 release has a redirect "i2s.h" file in the cores directory to redirect to the "I2S.h" file in the library, but under Windows this resulted in the IDE not building the I2S library and link errors. Remove the offending header. Code will need to mode to including "I2S.h" instead (which will include both the Arduino class as well as the low-level definitions). Fixes #8107 * Update examples to use proper I2S.h version
Basic Infos
Platform
Settings in IDE
Problem Description
Projects which include I2S library <I2S.h> fail to link.
Sketch
Examples -> I2S -> SimpleTone
Examples -> I2S -> InputSerialPlotter (copy below)
Debug Messages
The text was updated successfully, but these errors were encountered: