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

Please add 2M flash with smaller SPIFFS (e.g. 2M.512k) #5096

Closed
TD-er opened this issue Aug 30, 2018 · 2 comments
Closed

Please add 2M flash with smaller SPIFFS (e.g. 2M.512k) #5096

TD-er opened this issue Aug 30, 2018 · 2 comments
Assignees

Comments

@TD-er
Copy link
Contributor

TD-er commented Aug 30, 2018

As extension on this PR: #4988

That PR added a config for:

Flash Split for 2M chips

  • sketch 1019KB
  • spiffs 1004KB
  • eeprom 20KB

But that layout does only allow for OTA update of sketches up-to 510k (or a bit more when using two-step update)
So I guess for the Shelly1 and other 2M modules it would be more useful to have 256k or 512k SPIFF and 20k EEPROM. The rest should then be available for the sketch, to allow for easier OTA updates.

For example:

  • sketch 1516 kB
  • spiffs 512 kB
  • eeprom 20 kB

flash_size(0x200000, '2M', '2m512', '512K SPIFFS', 1044464, 0x17B000, 0x80000, 8192)

@TD-er TD-er changed the title Please add 2M flash with smaller spiff (e.g. 2M.256k) Please add 2M flash with smaller spiff (e.g. 2M.512k) Aug 30, 2018
@TD-er TD-er changed the title Please add 2M flash with smaller spiff (e.g. 2M.512k) Please add 2M flash with smaller SPIFFS (e.g. 2M.512k) Aug 30, 2018
@d-a-v d-a-v self-assigned this Aug 31, 2018
@SConaway
Copy link
Contributor

SConaway commented Sep 2, 2018

@d-a-v Have you started with any progress? I'll give it a shot.

TD-er added a commit to TD-er/ESPEasy that referenced this issue Sep 2, 2018
[Shelly1 Open Source (ESP8266-2MB)](https://shelly.cloud/shelly1-open-source/)
This is a preliminary test version as I have not yet received my ordered modules.
Also there is a [feature request](esp8266/Arduino#5096 (comment)) out for adding proper flash layout for these 2M flash modules which allow proper OTA.
@d-a-v
Copy link
Collaborator

d-a-v commented Sep 3, 2018

#5103 needs testing is merged

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

No branches or pull requests

3 participants