Skip to content

Flash memory layout changes break persistence #187

Description

@xoseperez

A flash layout change in 1.8.3 has had an unpredicted and unpleasant consequence of preventing devices from persist and retrieve configuration if they are flashed using OTA and PlatformIO.

Arduino IDE users might not notice this if they are still using Flash layout "1Mb (128K)".

You have two options to fix this:

  • Do not use OTA to flash a device with ESPurna 1.8.2 or before with a newer version. Once the version is 1.8.3 or more you can use OTA again.
  • Change the build flags in the platformio.ini file, section "common", to:
build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions