-
Notifications
You must be signed in to change notification settings - Fork 115
Pin platform and Arduino versions #212
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
base: dev
Are you sure you want to change the base?
Conversation
learn-more
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to fix the issues that occur instead of hiding them,
this will bite us later.
Depending on if the dependencies support Arduino 3.x it could become a somewhat bigger project to fix it. There have also been some controversy wrt Platformio and Arduino 3, https://www.cnx-software.com/2024/06/01/espressif-releases-arduino-esp32-core-3-0-0-but-platformio-support-in-doubt/ ,that could be worth taking in consideration. |
f7c91d9 to
f322feb
Compare
|
Just a quick question, not meant to sound negative, but who actually needs this change? Is it necessary if you have newer PlatformIO/Arduino libs installed? Because apparently, if you install PlatformIO from scratch (like e.g. the github action does), it seems to work fine without restricting the version. Also, please use platform version 6.9.0+ (that's the version that will be used if installed from scratch):
|
|
@HeMan can you describe how to reproduce the problem with "fails to compile"? I just opened a fresh checkout of on a brand new machine, without PlatformIO installed. I installed PlatformIO, then let it do "all the things", which took a couple of minutes. I then copied
Relevant? logs: This is an Apple M3 Pro if that matters...? |
|
I did some more testing, and the problem only arises when you have done other Platform.io projects that uses Arduino 3.x, so it's a really small group that gets bitten by this. However, having pinned versions is nice to have, since it ensures that every build uses the same Arduino versions. |
1cedd7e to
869c59b
Compare

Code fails to compile on newer versions of Arduino and platform