Closed debsahu closed 5 years ago
[env:nodemcuv2] build_flags = ; -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -Wl,-Teagle.flash.4m.ld
ld file that you are using has no spiffs. see comments here (as documentation suggests): https://github.com/esp8266/Arduino/blob/master/tools/sdk/ld/eagle.flash.4m.ld https://github.com/esp8266/Arduino/blob/master/tools/sdk/ld/eagle.flash.4m1m.ld https://github.com/esp8266/Arduino/blob/master/tools/sdk/ld/eagle.flash.4m2m.ld https://github.com/esp8266/Arduino/blob/master/tools/sdk/ld/eagle.flash.4m3m.ld
omg, that was a such an amatuer mistake on my part! thank you.
It's not so much an amateur mistake as you think, since the eagle.flash.4m.ld file used to specify 3M spiffs
platformio.ini:
The following code compiles and works on esp8266-arduino v2.5.0-beta2, esp8266-arduino git and esp8266-arduino v2.4.2 versions. On PIO, following code works on espressif8266@1.8.0 and platform-espressif8266.git, but does not work on platform-espressif8266.git#feature/stage
main.cpp: