earlephilhower / arduino-pico-littlefs-plugin

LittleFS Data Uploader for Arduino-Pico

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arduino-pico-littlefs-plugin in Arduino 2.1.1

Gavin-Perry opened this issue · comments

Does arduino-pico-littlefs-plugin work with 2.1.1? Seems like it has been long enough!
If not how do I use LittleFS (got 1m & 1m) and get data onto the Pico?
I tried downloading but not sure what install means since what I get from unpacking the zip file is nothing like what is shown in the example.
Following the folders all the way down I have:
C:\Users\gavin\OneDrive\Documents\Arduino\tools\arduino-pico-littlefs-plugin\bin\com\efp3\pico\mklittlefs
I thought about the make.sh file, but I'm on Windoze, not linux or unix.
Thanks for all the help and code you do.

No, the new Arduino IDE has no support for plug ins. See arduino/arduino-ide#58

Either use the 1.x IDE or run the mklittlefs and u2fconv.py scripts manually. You might just use the 1.x IDE only for littlefs uploads but keep the 2.x for your other work, for example.

It's surprising that they would not support tools in version 2

Extending the capabilities of Arduino IDE is supported. However, the system for doing so is very different from the "Tool" system Arduino IDE 1.x inherited from the Processing IDE used by this project.

Arduino IDE 2.x is built on the Eclipse Theia IDE framework. Since it is based on VS Code, Theia supports VS Code extensions, and so Arduino IDE 2.x has supported these extensions from the start (and they are already heavily used by Arduino IDE 2.x). VS Code extensions is the form the next generation of Arduino IDE "plugins" will take.

In addition to the framework's support for extensions, such "plugins" also need access to data from the Arduino framework. The lack of access to such data blocked the possibility of creating VS Code extension replacements for the Arduino IDE 1.x "plugin" tools. That missing capability was recently added:

arduino/arduino-ide#2110

So there is now no technical barrier to creating an IDE 2.x replacement for this project. You can see a replacement for the popular "ESP Exception Decoder" Tool was already created:

https://github.com/dankeboy36/esp-exception-decoder

Please see the arduino-littlefs-plugin for use under IDE 2.2.1 or later