Skip to content

Uploading new firmware which uses git version of this library via OTA removes WiFi credentials when the old firmware was using stable version  #3204

@Defozo

Description

@Defozo

Basic Infos

I have a firmware on my ESP-07S which was compiled using 2.1.0 version of this esp8266-arduino library.
This firmware has OTA functionality. I can update device's firmware using my server.

Hardware

Hardware: ESP-07S
Core Version: 2.1.0 vs master

Description

Everything is fine when I'm updating my firmware with the one compiled using 2.1.0 version of this library. However, when I try to use the latest version available by cloning git repository my WiFi credentials are being removed after OTA update - the device can't connect.

Is there a way to prevent this? Why is it happening?

Settings in IDE

Module: Generic ESP8266 Module
Flash Size: 4MB (1M SPIFFS)
CPU Frequency: 80Mhz
Flash Mode: qio
Flash Frequency: 40Mhz
Upload Using: OTA
Reset Method: ck

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions