VS Arduino
Visual Micro >> General Board >> LittleFs File Upload ?
https://www.visualmicro.com/forums/YaBB.pl?num=1592010921

Message started by Secundus on Jun 13th, 2020 at 1:15am

Title: LittleFs File Upload ?
Post by Secundus on Jun 13th, 2020 at 1:15am
For the Arduino ide is a LittleFs upload Plugin (similar to the Publish Server Data Files) available. This is needed to upload the Data folder to the LittleFS spiffs.

For Visual Micro i have not found a LittleFS upload plugin. The normal spiffs upload does work, but the Files are not visible/accessible.

Is there any way to get it work?

Title: Re: LittleFs File Upload ?
Post by Visual Micro on Jun 27th, 2020 at 7:31pm
We normally support LittleFS. Please follow the guide above and then add the data folder and click the Publish Data Files command.

Post the output so we can see the error.

Thanks

Title: Re: LittleFs File Upload ?
Post by Simon@Visual Micro on Oct 8th, 2020 at 10:10am
The current integration in Visual Micro for LittleFS, expects SPIFFS to have been deprecated and not included in the package before switching to it.

In the current version, if you Right Click the project in Solution Explorer > Add > Local Board.txt, and then add the below entry to it, it will force it to use LittleFS:
[code]# Force LittleFS Usage for ESP8266
runtime.tools.mkspiffs.path=notTheToolYoureLookingFor[/code]

Let us know if there are any issues with this and we will update if there are any alternative routes or options to access LittleFS in the future.

We have added a documentation page for this process: ESP8266 SPIFFS and LittleFS FileSystems

Title: Re: LittleFs File Upload ?
Post by Lars M. on Dec 3rd, 2020 at 10:11pm
It seems that for ESP32 the workaroud with "Local Board.txt" doesn't work.

Now I've copied the "mklittlefs.exe" to the following folder and replaced it with the original "mkspiffs.exe" by renaming it.

{Username}\AppData\Local\Arduino15\packages\esp32\tools\mkspiffs\0.2.3

=> Now it seems to work with LittleFS  :)

Will there be an official support for littleFS and ESP32 in VisualMicro?

Title: Re: LittleFs File Upload ?
Post by Simon@Visual Micro on Dec 4th, 2020 at 11:24am
Thanks for the report.

The current ESP32 Arduino core does not come with the LittleFS tools, which is why we have not supported it so far through the same override.

Did you clone it across from the ESP8266 core? (There are a number of other projects / libraries which also aim to add this functionality)

Title: Re: LittleFs File Upload ?
Post by Lars M. on Dec 10th, 2020 at 8:41pm
I used the executable from the following project:

https://github.com/earlephilhower/mklittlefs/releases
x86_64-w64-mingw32-mklittlefs-295fe9b.zip

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.