Skip to content

Fix for pioarduino support due to different path than platformio #27693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

luc-github
Copy link
Contributor

@luc-github luc-github commented Feb 17, 2025

Description

Allow to use pioarduino for esp32 boards that handle latest esp32 arduino cores (3.X+)

Since november 2023 espressif stop to support platformio:

platformio/platform-espressif32#1225

Which mean any release after esp32 arduino 2.x is not supported by platformio neither, because no solution was found between both side, the community launched https://github.com/pioarduino, and especialy : https://github.com/pioarduino/platform-espressif32
This repository release platformio package for every 3.x release done for esp32 arduino core

Due to prebuild changes in 2.1.3 detection of g++ failed under windows and compilation do not even start.
This fix allow detection of g++ with platformio package and pioarduino package

Even the issue is not currently visible because latest core updates are not yet used, I have found the issue when doing the porting of esp3dlib 3.0 - so it is more an heads up to prepare the PR for ESP3DLib 3.0 and also coming boards that will come with esp32s3 and new espressif chips

I am still working on porting but at least prebuild script will be ready for any core update

Requirements

ESP32 boards using platformio under window

Benefits

That allows to support latest esp32 core versions that include bugfixes and new chips, using pioarduino package under platformio on windows OS, because platformio do not do this support anymore and keep compatible with current esp32 platformio package.

Related Issues

Fix #27689

@thinkyhead thinkyhead merged commit 89def45 into MarlinFirmware:bugfix-2.1.x Feb 19, 2025
64 checks passed
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] pioarduino for esp32 support using platformio is broken in bugfix / Marlin 2.1.3 beta 1 / Marlin 2.1.3 beta 2, but ok for Marlin 2.1.2.5
3 participants