Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash memory layout changes break persistence #187

Closed
xoseperez opened this issue Aug 19, 2017 · 2 comments
Closed

Flash memory layout changes break persistence #187

xoseperez opened this issue Aug 19, 2017 · 2 comments

Comments

@xoseperez
Copy link
Owner

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
@xoseperez
Copy link
Owner Author

Actually, this should not be an issue since EEPROM starts at the same address on both layouts...

@xoseperez
Copy link
Owner Author

Original comment by Gerben (Bitbucket: mrgerben, GitHub: Unknown):


I see this ticket is marked as invalid. I think that means that the reference to this ticket on the homepage can be removed as well?

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

No branches or pull requests

1 participant