Skip to content

Fix I2S compilation on IDF 6.0-beta2#89

Merged
stuartparmenter merged 2 commits intomainfrom
fix/i2s-idf6-beta2
Feb 12, 2026
Merged

Fix I2S compilation on IDF 6.0-beta2#89
stuartparmenter merged 2 commits intomainfrom
fix/i2s-idf6-beta2

Conversation

@stuartparmenter
Copy link
Collaborator

Summary

Cherry-pick of acvigue@b11a95b from @acvigue (referenced in #88).

  • Adds esp_driver_i2s dependency for ESP32/ESP32-S2 targets when building with IDF 6.0+
  • Removes the legacy driver component from the requirements list for IDF 6.0+
  • Fixes I2S include paths for IDF 6.0 where soc/i2s_periph.h is no longer available

Tested on IDF 6.0-beta2 by @acvigue. CI will verify IDF 4.x, 5.x, and 6.0-beta1 compatibility.

acvigue and others added 2 commits February 12, 2026 11:19
The conditional from the cherry-pick only included soc/i2s_periph.h for
IDF >= 5.4.0, leaving IDF 4.x without it. Change the elif to else so
all non-6.0 versions get the header.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stuartparmenter stuartparmenter merged commit e712f60 into main Feb 12, 2026
26 checks passed
@stuartparmenter stuartparmenter deleted the fix/i2s-idf6-beta2 branch February 12, 2026 19:31
datagutt pushed a commit to datagutt/esp-hub75 that referenced this pull request Feb 15, 2026
* fix: i2s compilation on IDF 6.0-beta2

* Fix i2s_periph.h include for IDF 4.x

The conditional from the cherry-pick only included soc/i2s_periph.h for
IDF >= 5.4.0, leaving IDF 4.x without it. Change the elif to else so
all non-6.0 versions get the header.

---------

Co-authored-by: Aiden <aiden@vigue.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments