question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add LittleFS and FFat filesystem support

See original GitHub issue

Right now the only support filesystem builder tool is SPIFFS via mkspiffs

https://github.com/platformio/platform-espressif32/blob/6c30a4a4b51fa33cf7a45f2b65328a5ad10e75b0/builder/main.py#L167-L168

https://github.com/platformio/platform-espressif32/blob/6c30a4a4b51fa33cf7a45f2b65328a5ad10e75b0/builder/main.py#L196-L208

this should be expanded so that, as for the ESP8266 other filesystems are supported. Per https://github.com/lorol/arduino-esp32fs-plugin and Arduino-ESP32, SPIFFS, LittleFS and FFat filesystems are supported.

For generation of the image, analogue to mkspiffs and mklittlefs, the tool mkfatfs may be usable. The version used in the Arduino IDE is at https://github.com/lorol/arduino-esp32fatfs-plugin/tree/master/extra (refer package for mkfatfs)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
maxgerhardtcommented, Jun 24, 2021

For reference, I’ve created a project at https://github.com/maxgerhardt/pio-esp32-fatfs-example with a modified https://github.com/maxgerhardt/platform-espressif32 that allows using FatFs. The only thing that’s missing is that tool-mkfatfs gets uploaded and referenced as a package, I’ve just thrown it into the project folder there.

0reactions
Algonsicommented, May 10, 2022

Thank you very much for your fast and accurate help. You made me realize that I had set board_build.filesystem = ffat When I have corrected it to ‘fatfs’, the problem disappeared. Thanks again, you do a great job.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filesystem — ESP8266 Arduino Core documentation
LittleFS is recently added and focuses on higher performance and directory ... FAT filesystems are supported on the ESP8266 using the old Arduino...
Read more >
ESP32: integrated LittleFS FileSystem – 5 - Renzo Mischianti
LittleFS is recently added and focuses on higher performance and directory support but has higher filesystem and per-file overhead (4K ...
Read more >
LittleFS – the Best File System for Embedded Projects?
Popular choices include the FAT file system and SPIFFS, and the Moddable SDK supports both. These file systems work well, ...
Read more >
LittleFS - A high-integrity embedded file system | Mbed
Mbed OS is making it easy to add file system support by providing a wide portfolio of file systems. Mbed OS 5.7 supports...
Read more >
ESP32 Arduino framework. FFAT FS upload insted of SPIFFS
I want to try out the FFAT File System but i can not upload my files in the ... I've opened one at...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found