PlatformIO Community

Upload Filesystem image in wrong address when using spiffs and ffat

Hello, I’m having a problem when I try to upload the filesystem image in my esp32. I’m using Spiffs to store a file and ffat to stoge some data, as shown in the image.

In my platforio.ini I put to write in filesystem spiffs (board_build.filesystem = spiffs)

But when I run the command to Upload the filesystem it’s wiritng at the addres 0x2e0000 (ffat address).

image

Can someone help me with this, please?

Two data partitions are not supported by PlatformIO. The build logic will go through all type = data and subtype = spiffs or fat sections and pick the last one.

As such, in your partition table, it will always pick the ffat one.

Try opening an issue in Issues · platformio/platform-espressif32 · GitHub.

Thank you, very much!!

Very good answer.