Skip to content

Commit 2185f9b

Browse files
BREAKING - "i2s.h" removed, I2S library added (#8108)
* 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
1 parent e8b411f commit 2185f9b

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

cores/esp8266/i2s.h

-12
This file was deleted.

libraries/esp8266/examples/I2SInput/I2SInput.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929

3030
#include <ESP8266WiFi.h>
31-
#include <i2s.h>
31+
#include <I2S.h>
3232

3333
void setup() {
3434
Serial.begin(115200);

libraries/esp8266/examples/I2STransmit/I2STransmit.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include <ESP8266WiFi.h>
1212
#include <WiFiUdp.h>
13-
#include <i2s.h>
13+
#include <I2S.h>
1414

1515
#ifndef STASSID
1616
#define STASSID "your-ssid"

0 commit comments

Comments
 (0)