Esp32S3 : How to mount a FileSystem in embedded flash ? Size < 1MO ?

ThomasESP32
Posts: 195
Joined: Thu Jul 14, 2022 5:15 am

Esp32S3 : How to mount a FileSystem in embedded flash ? Size < 1MO ?

Postby ThomasESP32 » Wed Jun 28, 2023 3:17 pm

Good afternoon,

I am trying to use the example FatFSGEN on an Esp32S3 in order to mount a
filesystem on the embedded flash of the module.
The example works perfectly if I mount the file System in Read/Write with a size = 1Mo (Partition Size).

However, it seems that if I try to reduce the size of the partition under 1Mo (For example 512K),
the filesystem is not mounted correctly anymore. Is is written f_mount fail (13) or something like that.

Moreover, If I try to mount the filesystem in ReadOnly mode, it is not mounted correctly.

Do you know why ?
I would like to mount a fileSystem with a size under 1Mo for my application. In Read/Write mode would be ok.

Best regards,

Thomas TRUILHE

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: Esp32S3 : How to mount a FileSystem in embedded flash ? Size < 1MO ?

Postby ESP_igrr » Wed Jun 28, 2023 9:00 pm

Hi Thomas,
Please check this thread: https://github.com/espressif/esp-idf/is ... 1144455201

ThomasESP32
Posts: 195
Joined: Thu Jul 14, 2022 5:15 am

Re: Esp32S3 : How to mount a FileSystem in embedded flash ? Size < 1MO ?

Postby ThomasESP32 » Thu Jun 29, 2023 8:22 am

Thank you !
It is working now with a 512K partition !
Best regards,

Who is online

Users browsing this forum: No registered users and 217 guests