Page 1 of 1

LittleFS not running on Mac+Arduino

Posted: Tue Dec 08, 2020 5:47 pm
by Pagemaker
@lorol

I downloaded on: 7-12-2020 from:
https://github.com/lorol/arduino-esp32f ... es/tag/2.0
from: Combined with LITTLEFS and FATFS
esp32fs.zip
mkfatfs.tar.gz
mklittlefs.tar.gz
releases: 2.0 5723305

And put the extracted files in:
/users/username/Dokumenten/Arduino/tools/ESP32FS/tool/esp32fs.jar
/users/username/Dokumenten/Arduino/tools/ESP32FS/tool/mkfatfs
/users/username/Dokumenten/Arduino/tools/ESP32FS/tool/mklittlefs

Arduino makes on the same date completely spontaniously:
/users/username/Library/Arduino15/tools/ESP32FS/tool/esp32fs.jar
/users/username/Library/Arduino15/tools/ESP32FS/tool/mkfatfs
/users/username/Library/Arduino15/tools/ESP32FS/tool/mklittlefs

This brought me the error message: "Can't find mklittlefs"

Then on: 7-12-2020 I created:
/users/username/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/mkfatfs
/users/username/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/mklittlefs

This brought me the error message: "LittleFS Create Failed"

Then I defined the partition for my ESP32 as: "No OTA (2MB App/2MB SPIFFS)"

Now I have this error message:

=== ESP32_SPIFS_demo1 =========
================================
/Users/janhkila/Documents/Arduino/libraries/LittleFS_esp32/src/lfs.c:1003:error: Corrupted dir pair at {0x0, 0x1}
E (37) esp_littlefs: mount failed, (-84)
E (40) esp_littlefs: Failed to initialize LittleFS
LITTLEFS Mount SUCCESSFUL.

================================
== List Directory ============
Listing directory: /

================================
Read file with path: /SPIFFS_Demo.txt
====================
File failed to open.

Can, will, you help please with the line where it says:
"Corrupted dir pair at {0x0, 0x1}"
I'm just wandering which directory pair is corrupted.

Re: LittleFS not running on Mac+Arduino

Posted: Wed Dec 09, 2020 2:33 am
by lbernstone