ESP32: Migrate to Arduino 3.x (pioarduino) #9122
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Switch all ESP32 builds to pioarduino/platform-espressif32.
https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html
Switching to Arduino-ESP32 3.x will be necessary in order to properly support newer Espressif MCUs (esp32h2, esp32c5, esp32c6, esp32p4, etc)
DRAFT for now, see below.
TODO:
AUDIOModuleDepends on:
sysloglib (replace?)libpaxrelies on bluetooth vhci APIs which DO NOT EXIST on esp32c6, esp32h2, or newer (c5, p4, etc)This PR is a continuation of the work in #8952
Huge shoutout / credit to @mverch67 who's initial work this is based upon #7180 ❤️