ESP8266 doesn't save Wifi settings

I will publish a correction for esp8266 also.

It could be also that you selected a wrong flash size when uploading.

Some info about this: