Skip to content

SPIFFS size is not an integer multiple of block size. #3621

Closed
@ABH10

Description

@ABH10

For some of the boards defined in boards.txt, the allocation for SPIFFS is not an integer multiple of the SPIFFS block size.
For 4MB boards, for example, there is 1MB for PROGMEM, 3052 kB for SPIFFS and 20kB for EEPROM. The block size is 8 kB, but 3052 kB is not divisible by 8 kB blocks.
I propose to modify eagle.flash.4m.ld linker file and boards.txt to use an SPIFFS block size of 4 kB, which works fine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions