Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
LittleFs File Upload ? (Read 324 times)
Secundus
Newbies
*
Offline



Posts: 1
LittleFs File Upload ?
Jun 13th, 2020 at 2: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?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10895
United Kingdom
Re: LittleFs File Upload ?
Reply #1 - Jun 27th, 2020 at 8: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
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Simon@Visual Micro
Administrator
*****
Online



Posts: 537
Re: LittleFs File Upload ?
Reply #2 - Oct 8th, 2020 at 11: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 



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
Back to top
« Last Edit: Oct 8th, 2020 at 2:10pm by Simon@Visual Micro »  
 
IP Logged
 
Lars M.
Newbies
*
Offline



Posts: 1
Re: LittleFs File Upload ?
Reply #3 - Yesterday 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  Smiley

Will there be an official support for littleFS and ESP32 in VisualMicro?
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Online



Posts: 537
Re: LittleFs File Upload ?
Reply #4 - Today 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)
Back to top
« Last Edit: Today at 11:43am by Simon@Visual Micro »  
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print