Go Down

Topic: Uploading LittleFS Data to Flash (Read 2360 times) previous topic - next topic

time4tux

Jul 05, 2020, 07:11 pm Last Edit: Jul 05, 2020, 07:18 pm by time4tux
Is there a way to use Arduino CLI or a stand-alone CLI program to upload LittleFS data to Flash (e.g. on an ESP8266)?

Thanks.

pert

Is there a way to use Arduino CLI
No. The process of uploading LittleFS data to an ESP8266 via the Arduino IDE is done via a plugin. Arduino CLI doesn't have any support for the Arduino IDE's plugins.

or a stand-alone CLI program to upload LittleFS data to Flash (e.g. on an ESP8266)?
Certainly. There are actually two processes that need to happen, each with its own command line tool:


Unfortunately, you can't see the commands the IDE plugin runs when you use it, but you can find it in the source code:
https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/blob/master/src/ESP8266LittleFS.java

Go Up