after updating PIO and ESP8266 platform, i’m experiencing an error in a previously working Project upon linking.
collect2.exe: error: ld returned 1 exit status
*** [.pioenvs\nodemcuv2\firmware.elf] Error 1
multipile warnings are generated also…
Try to run “Clean” and build again. Do you use the latest dev/platform?
i’ve figured out another solution
just removed all the libraries and re-installed them again, everything worked fine but it’s the uploaded code generates unusual o/p.
discussed in this thread
honestly i haven’t yet figured what exactly caused the problem.