Skip to content

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

Closed
@TD-er

Description

@TD-er

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions