Using Platformio with ESP8266 Arduino 2.1.0-rc2 release candidate

In order to get Platformio to build a project based on ESP8266 release candidate, I had to do the following - basically these instructions:

  • replaced ~/.platformio/packages/framework-arduinoespressif files with those downloaded zip of the ESP8266 Arduino RC - if the framework-arduinoespressif folder isn't there, try building the project.
  • replaced ~/.platformio/packages/ldscripts with these files

I think I can get back to norm by doing a- though the ldscripts folder will still be messed up...

platformio platforms uninstall espressif
platformio platforms install espressif

Wondering if I could use the following to set these as seen in the repo :

[env:specific_ld_script]
build_flags = -Wl,-Tname_of_script.ld