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

Contribution - SPIFFS MOD #4871

Closed
carlymx opened this issue Jul 1, 2018 · 3 comments
Closed

Contribution - SPIFFS MOD #4871

carlymx opened this issue Jul 1, 2018 · 3 comments

Comments

@carlymx
Copy link

carlymx commented Jul 1, 2018

Hi.

I come to share a little work that I have done recently in case you can help them.

The idea arose from the need to adapt the flash memory of my modules to the needs of the projects.

The project with which that need was born was McLighting that allows controlling an RGB LED strip WS2812B which gave storage problems in the compilation in a module ESP8266 ESP-01. The Sketch was too large for the reserved space of the default memory by the plate library (512KB - 64KB (SPIFFS) = 448KB Total for Sketch).
An arrangement could be to dispense with some program feature but limited its functionality.

So I came up with the modification of the file system to be smaller (32KB) and thus have 480KB for Sketch. After a couple of days with the hexadecimal calculator I managed to work and compile and upload the sketch without problems.

https://github.com/carlymx/SPIFFS-Mod-for-ESP8266

I hope it will be useful to me.

Thank you.

@d-a-v
Copy link
Collaborator

d-a-v commented Jul 1, 2018

I think too that it could be useful to others.
Can you please make a pull request with your changes ?
You need to only modify the board generator (tools/board.txt.py) then it will regenerate boards.txt and the eagle.flash... files by using its option --allgen.
The PR must include these 3 files.

@carlymx
Copy link
Author

carlymx commented Jul 2, 2018

I have seen that you have opened a new pull request.

Do I have to do something? Can I help in any way?

d-a-v added a commit that referenced this issue Jul 3, 2018
@carlymx #4871) (#4880)

* boards updates: nodemcu doc update (@lrmoreno007 #4715) + 512k32spiffs (@carlymx #4871)

* sometimes -> usually
@devyte
Copy link
Collaborator

devyte commented Jul 4, 2018

Relevant PR is already merged.

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

3 participants