PlatformIO Community

How to downgrade NodeMCU platform version?


#1

Hello! I have a problem with my project for NodeMCU, when i compile project with default settings like this in .ini file:

[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino

it compile but device doesn’t work properly.
On arduino IDE it compile and work but only with older version 2.4.0 for that board.
So i need to install board version 2.4.0 in Platformio.
I tried changing ini file to "platform = espressif8266@2.4.0" but it says that can’t find that version.
I also tried to change it to direct link for platform like that but Platformio can’t unpack that file that used in Arduino IDE:
"platform = https://github.com/esp8266/Arduino/releases/download/2.4.0-rc1/esp8266-2.4.0-rc1.zip'
What can i do? Help me please. Is it possible to make it work?


#2

Ok, i find out now.
PIO - Home - Platforms - Embedded - Espressif 8266 - Changelog
And in changelog i found one year old version 1.6.0, now it’s compiling and working!

[env:nodemcuv2]
platform = espressif8266@1.6.0
board = nodemcuv2
framework = arduino