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

Update core to 3.0.0 #249

Closed
ISO-B opened this issue May 18, 2021 · 17 comments
Closed

Update core to 3.0.0 #249

ISO-B opened this issue May 18, 2021 · 17 comments

Comments

@ISO-B
Copy link

ISO-B commented May 18, 2021

New core version has been released https://github.com/esp8266/Arduino/releases/tag/3.0.0

@maxgerhardt
Copy link

FYI until a core update is released (which I don't think will take very long), see this topic for some simple platformio.ini options and test to get the new 3.0.0 core and test out some new features (e.g. the +16Kbyte IRAM heap feature)

valeros added a commit that referenced this issue May 19, 2021
@maxgerhardt
Copy link

And what did I say? 4 minutes ago changes were pushed to support the latest 3.0.0 core. Waiting for release ^_^

@valeros
Copy link
Member

valeros commented May 19, 2021

Hi guys, the Arduino and toolchain packages have been updated to the latest 3.0 and 10.2.0 accordingly. Please retest your projects with the upstream version:

[env:d1]
platform = https://github.com/platformio/platform-espressif8266.git
framework = arduino
board = d1

@sblantipodi
Copy link

I love those guys! ehm, not in that sense. 😄

@maxgerhardt
Copy link

Works flawlessly for me! I also noted that you already extended the documentation with the new MMU features for increased heap, so that it will be displayed at https://docs.platformio.org/en/latest/platforms/espressif8266.html soon, great.

Testing my example linked above with the new platform

[env:d1]
platform = https://github.com/platformio/platform-espressif8266.git
framework = arduino
board = d1
build_flags = -D PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48_SECHEAP_SHARED
monitor_speed = 74880

Works exactly as before

IRAM free:  21592 bytes
DRAM free:  52336 bytes

@sblantipodi
Copy link

@valeros but is there some command to force the update?
I'm using PlatformIO under CLion IDE and it still use 2.6.3

@maxgerhardt
Copy link

maxgerhardt commented May 19, 2021

Remove C:\Users\<user>\.platformio\platforms\espressif8266@src-xxxxx if the folder exists, to force a redownload. You may have previously used a development version. I had to do this as well. And of course, you will need to use the platformio.ini instructions above with link to the git platform.

@sblantipodi
Copy link

@maxgerhardt done it but it redownload the old version:


====================[ Build | Production | glowwormluciferinfull_esp8266 ]======
C:\Users\sblantipodi\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\211.6693.114\bin\cmake\win\bin\cmake.exe --build C:\dev\dpsoftware\ArduinoRaspbery\PUBLIC\glow_worm_luciferin\cmake-build-glowwormluciferinfull_esp8266 --target Production -- -j 9
Processing glowwormluciferinfull_esp8266 (platform: espressif8266; board: d1_mini_lite; framework: arduino)
--------------------------------------------------------------------------------
Platform Manager: Installing espressif8266
Platform Manager: espressif8266 @ 2.6.3 has been installed!
The platform 'espressif8266' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Verbose mode can be enabled via `-v, --verbose` option

@sblantipodi
Copy link

sblantipodi commented May 19, 2021

but if you go here:
https://github.com/platformio/platform-espressif8266/releases
there is no new release.

how those things works? will we see a release soon?

@sblantipodi
Copy link

edit: I am trying core 3.0 on my projects, it broke most of the libs I use, most of them are very popular...
it seems that core 3.0 will not be an easy transition...

@maxgerhardt
Copy link

maxgerhardt commented May 19, 2021

how those things works? will we see a release soon?

They'll probably release it as a new stable new version after it has been tested for some while / no issue reported.

platform: espressif8266

If you want to test it you can't use platform = espressif8266 right now but platform = https://github.com/platformio/platform-espressif8266.git as @valeros said above.

it broke most of the libs I use

Which ones? Do the people at the Arduino core already know about this?

@sblantipodi
Copy link

Which ones? Do the people at the Arduino core already know about this?

FastLED is the most broken one

@maxgerhardt
Copy link

Yeah but per FastLED/FastLED#1236 and FastLED/FastLED#1237 they seem to have been informed about this.

@sblantipodi
Copy link

at this point how can I revert to a previous release if they release the 3.0?
is it possible via the platformio.ini?

@maxgerhardt
Copy link

Yes as the documentation says you can use any platform-espressif8266 release at any time, like platform = [email protected].

@sblantipodi
Copy link

3.0 broke so much things, I hope you'll not release it that soon :D

@valeros
Copy link
Member

valeros commented Jun 3, 2021

Updated in the latest release https://github.com/platformio/platform-espressif8266/releases/tag/v3.0.0

@valeros valeros closed this as completed Jun 3, 2021
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

No branches or pull requests

4 participants