Skip to content
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

Prefer latest toolchain-xtensa #300

Merged
merged 1 commit into from
Jul 19, 2023
Merged

Prefer latest toolchain-xtensa #300

merged 1 commit into from
Jul 19, 2023

Conversation

mcspr
Copy link
Contributor

@mcspr mcspr commented Jul 19, 2023

See esp8266/Arduino#8393

Missed when updating to Core 3.1.x b/c semver still prefers old version installed.
Fix optimisation bug(s). Usually breaks on Windows, comes and goes at random so it is pretty annoying to debug

May be related to #288, or any other 'this code sometimes works, but sometimes doesnt'

See esp8266/Arduino#8393
Missed when updating to Core 3.1.x, fix optimisation bug(s)
@valeros
Copy link
Member

valeros commented Jul 19, 2023

Hi @mcspr,

Missed when updating to Core 3.1.x b/c semver still prefers old version installed.

There is only one package v2.100300.220621 available at the moment, so when PlatformIO checks the ~2.100300.0 requirement it should download the latest package automatically, even if there is an old one installed in the system.

@mcspr
Copy link
Contributor Author

mcspr commented Jul 19, 2023

Not unless updated manually, which may still pick up the old package

> cat platformio.ini
[env]
framework = arduino
platform = espressif8266@4.2.0

[env:d1_mini]
board = d1_mini

> pio run
Processing d1_mini (board: d1_mini; framework: arduino; platform: espressif8266@4.2.0)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 (4.2.0) > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 @ 3.30102.0 (3.1.2)
 - tool-esptool @ 1.413.0 (4.13)
 - tool-esptoolpy @ 1.30000.201119 (3.0.0)
 - toolchain-xtensa @ 2.100300.210717 (10.3.0) <--- oops
...

@valeros
Copy link
Member

valeros commented Jul 19, 2023

Not unless updated manually, which may still pick up the old package

My bad, indeed it seems that PlatformIO won't update if not forced manually. Thanks for the PR, merged. A new release is coming shortly.

@valeros valeros merged commit 4c2bc68 into platformio:develop Jul 19, 2023
18 checks passed
@mcspr mcspr deleted the patch-1 branch July 19, 2023 13:42
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.

2 participants