Skip to content

4m2m support in ldscripts #4454

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

Merged
merged 5 commits into from
Mar 12, 2018
Merged

4m2m support in ldscripts #4454

merged 5 commits into from
Mar 12, 2018

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Mar 3, 2018

+fix boards generator for new ldscripts generation
for #3226

d-a-v added 2 commits March 3, 2018 19:18
+fix boards generator for new ldscripts generation
@Hiddenvision
Copy link

boards.txt.py.zip
sdk.zip

This is what I had edited on my boards.txt.py
and the included ld files.
Hope they help.
Sorry, still not nailed the whole pull thing, mind is focused elsewhere.!

Hv.

@d-a-v d-a-v merged commit c51c7b4 into esp8266:master Mar 12, 2018
@d-a-v d-a-v deleted the 4m2m branch March 12, 2018 23:35
@Hiddenvision
Copy link

Hiddenvision commented Mar 13, 2018

Hi @d-a-v
just to advise I found a typo in the python script.
a stray tab had slipped in while editing.
I forgot how it uses indents.
Now I remember why I wrote a "tab"less editor when I was developing with python.

Guessing you will find it, as the script FAILS with a pointer to the issue.
Once corrected it created the new boards.txt file.

Hv.

@lucasromeiro
Copy link

Hello, I'm currently using 4M1M. I remember using this configuration, because I need to do OTA update and for that I need this model. I remember someone commented that in this model I lost 1M of memory and had no other way.
My question is simple. With this update, can I use 2M to save my data (twice before) and make OTA 1M code update without harming my files?
Is there any harm?
Thank you!

@Hiddenvision
Copy link

If you resize the flash you may loose your existing files on the device.
Best to copy them again once you have changed the size.

Yes with 2M for Flash and 2M for Spiffs then you can try upto 1M progsize and still have OTA.

I have had NO bad experiences.

Hv.

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

Successfully merging this pull request may close these issues.

4 participants