ESP32: Migrate to Arduino 3.x (pioarduino)#9122
Conversation
The latest fixes and the latest bugs!
Includes Manuel's recent commit
chasing the release
| https://github.com/lovyan03/LovyanGFX/archive/a44af6bb1d2063b3b00fdb5dffb366b565d55ab3.zip | ||
| # renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX | ||
| lovyan03/LovyanGFX@1.2.19 | ||
| ; REVISIT note: v1.2.7 breaks the elecrow 7" display functionality |
There was a problem hiding this comment.
(Sorry for the drive-by comment, I have been interested in esp32 migration (#9122) to pioandroid so that I can set some sdkconfig flags to solve a different problem (#6960).)
I'm trying to figure out why this won't work, so I can help to solve it. I do see the package in platformio registry: https://registry.platformio.org/libraries/lovyan03/LovyanGFX and it does have a version 1.2.19.
Ah, I see commit a44af6bb1d2063b3b00fdb5dffb366b565d55ab3 refers to one authored by mverch67 to add support for a specific device: lovyan03/LovyanGFX@a44af6b
but the tag 1.2.19 looks like it includes that commit, so not sure what the issue might be. Will continue investigating...
There was a problem hiding this comment.
it just means for elecrow panel the lib reference must stay at 1.2.0, otherwise it ends up with a black screen (only 7" version is affected).
Local variable 'config' shadows outer variable [shadowVariable]
This works locally again :) Not sure what changed
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
…ccess. (#10291) Co-authored-by: Copilot <copilot@github.com>
Align .text.handler_execute section to 4 bytes and update watchdog timer core mask configuration Co-authored-by: Copilot <copilot@github.com>
MESHTASTIC_EXCLUDE_SCREEN=1 on tlora-c6. It doesn't have a screen, and this gets it compiling again (saving flash).
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:
heltec-v3t-deck-tfttbeamtlora-v2-1-1_6station-g1heltec-ht62-esp32c3-sx1262tlora-c6m5stack-unitc6lcrowpanel p4 advanced 5"crowpanel p4 advanced 9"crowpanel p4 advanced 10.1"Tasks:
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 ❤️