Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arduino-pico-littlefs-plugin in Arduino 2.1.1 #8

Closed
Gavin-Perry opened this issue Aug 1, 2023 · 8 comments
Closed

arduino-pico-littlefs-plugin in Arduino 2.1.1 #8

Gavin-Perry opened this issue Aug 1, 2023 · 8 comments

Comments

@Gavin-Perry
Copy link

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.

@earlephilhower
Copy link
Owner

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

@Gavin-Perry
Copy link
Author

Gavin-Perry commented Aug 2, 2023 via email

@earlephilhower
Copy link
Owner

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.

@Gavin-Perry
Copy link
Author

Gavin-Perry commented Aug 2, 2023 via email

@per1234
Copy link

per1234 commented Aug 3, 2023

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

@Gavin-Perry
Copy link
Author

Gavin-Perry commented Aug 3, 2023 via email

@earlephilhower
Copy link
Owner

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

@Gavin-Perry
Copy link
Author

Gavin-Perry commented Sep 29, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants