Skip to content

Pin espressif32 to 6.13.0 to fix I2S driver conflict on boot#10

Open
alexjurkiewicz wants to merge 1 commit into
stedrow:mainfrom
alexjurkiewicz:fix/pin-espressif32-platform-version
Open

Pin espressif32 to 6.13.0 to fix I2S driver conflict on boot#10
alexjurkiewicz wants to merge 1 commit into
stedrow:mainfrom
alexjurkiewicz:fix/pin-espressif32-platform-version

Conversation

@alexjurkiewicz
Copy link
Copy Markdown

Fixes #3

Problem

With an unpinned platform = espressif32, PlatformIO resolves to the
latest version (7.x+), which ships Arduino ESP32 core 3.x. That core
introduced a new I2S driver architecture that conflicts with the legacy
driver/i2s.h used by this firmware, causing an abort() on boot:

CONFLICT! The new i2s driver can't work along with the legacy i2s driver

Fix

Pin to [email protected] — the latest stable release in the 6.x
series (Arduino core 2.0.17 / IDF 4.4.7). The legacy I2S driver is the
only driver in that core, so there is no conflict.

Arduino ESP32 core 3.x (shipped by default in espressif32 7.x+)
introduced a new I2S driver architecture that conflicts with the
legacy driver/i2s.h used by this firmware, causing an abort() on boot.

Pinning to [email protected] (Arduino core 2.0.17 / IDF 4.4.7) keeps
the legacy I2S driver as the only driver, eliminating the conflict.
Firmware now builds to ~1MB, well within the default partition scheme.

Fixes stedrow#3

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@alexjurkiewicz
Copy link
Copy Markdown
Author

Hi, are you still working on this? I am accumulating a bunch of small patches. Do you want me to submit a whole bunch of PRs or should I just fork this repository?

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.

build errors - program size is too big

1 participant