I am a huge fan of PlatformIO but I recently am strugling with a Wifi-connection-problem which does not occur when I use the Arduino IDE (with the EXACT same code)…
I used PlatformIO a lot but had some problems with Atom-updates so installed all of it new.
Revisiting some old code I got into a problem with my ESP-modules not connecting to my Wifi after updating the firmware.
When I write a super-simple program (just to connect to my Wifi) and burn it on my ESP with the Arduino-IDE it connects in 0,5 seconds… when I use the EXACT same program in PlatformIO (copy-paste) it does not connect (only sometimes after a hardware reset -which, when it is builtin, in combination with OTA could be a problem-).
All my platformio modules and boards are up to date (IDE 1.4.0)… is this SDK related? (maybe my arduino IDE 1.6.9 uses an older version?)
It looks like my arduino IDE uses an older version of ESP8266wifi (dated januari 2016) versus newer projects in platformio use a version from may 2016. I tried deleting .pioenvs it generates the new ESP8266wifi from may 2016.
Does anyone recognise this problem? (or better: solved it?)