# IDE 2.1 and SPIFFS

**URL:** <https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840>\
**Category:** IDE 2.x\
**Created:** [May 22, 2023, 5:58pm UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840 "2023-05-22T17:58:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GastonMelo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gastonmelo/32/239039_2.png) [@GastonMelo](https://forum.arduino.cc/u/GastonMelo)\
**Post date:** [May 22, 2023, 5:58pm UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840/1 "2023-05-22T17:58:45Z")

</div>

Hi to all, I want to know how to upload files to spi flash using the IDE 2.1. Do I need to use the old IDE 1.8 or something else?  
Gastón

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [May 22, 2023, 8:19pm UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840/2 "2023-05-22T20:19:56Z")

</div>

Hi @GastonMelo. In order to make sure I understand your question, please provide a detailed description of what you are attempting to accomplish. If you are following a tutorial, please provide a link to the tutorial.

I can take a guess at what you are asking about, but I don't like to provide support based on assumptions.

---

<div class="post-metadata">

**Author:** ![GastonMelo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gastonmelo/32/239039_2.png) [@GastonMelo](https://forum.arduino.cc/u/GastonMelo)\
**Post date:** [May 22, 2023, 8:27pm UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840/3 "2023-05-22T20:27:25Z")

</div>

Hi ptillisch!! Im using now the arduino IDE 2.1 and I tried to use the SPIFFS to upload data to esp-01S. I followed every tutorial I can find - how to use the SPIFFS on esp8266. But with the IDE 2.1 is not working. As far I can look (its a problem related to java on new IDE) and in most forum until 2022 talk about using PlatformIO or older version of arduino. Now 2023 can't find anything related to this and my question is this:  
How may I use with arduino IDE 2.1 the SPIFFS on 2023? How may a use the spi flash on esp8266 to store data?  
Thanks  
Gastón

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [May 24, 2023, 6:02am UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840/4 "2023-05-24T06:02:57Z")

</div>

It still isn't clear to me what you are asking, so I'll go ahead with what I assume you are asking.

I assume you are asking how you can use a tool like "[**ESP8266 Sketch Data Upload**](https://github.com/esp8266/arduino-esp8266fs-plugin)" with Arduino IDE 2.x.

The answer is you can't. This tool is only compatible with Arduino IDE 1.x. Arduino IDE 2.x will not recognize the installation of that tool.

You can install and use Arduino IDE 1.x for the purposes of having access to tools like " **ESP8266 Sketch Data Upload**". The Arduino IDE 1.x download links are listed here:

[https://www.arduino.cc/en/software#legacy-ide-18x](https://www.arduino.cc/en/software#legacy-ide-18x)

You can have Arduino IDE 2.x and 1.x installed at the same time without any problems so you are welcome to continue to use Arduino IDE 2.x as your everyday IDE, using Arduino IDE 1.x only when you have need to use tools like " **ESP8266 Sketch Data Upload**" tool.

* * *

The Arduino IDE 2.x developers are aware of the need to support extending the functionality of Arduino IDE 2.x as was possible with the "Tools" system of Arduino IDE 1.x:

> <https://github.com/arduino/arduino-ide/issues/58>
>
> \*\*Describe the solution you'd like\*\*
> I would like to propose support for extern…al tools / plugins which are compatible with Arduino IDE. Ex. https://github.com/me-no-dev/arduino-esp32fs-plugin or https://github.com/me-no-dev/EspExceptionDecoder
> If it is already supported, how can I use tools in Pro IDE?
> If it is not supported yet, are there any plans for implementing that?
> 
> \### Describe the problem
> 
> There is no support for extending the capabilities of Arduino IDE via external tools/plugins. This is a feature parity mismatch with Arduino IDE 1.x.
> 
> \### To reproduce
> 
> 1. Follow the instructions to install the "Arduino Pico LittleFS Filesystem Uploader" plugin:
> https://github.com/earlephilhower/arduino-pico-littlefs-plugin#installation
> 1. Start Arduino IDE 2.x
> 1. Open the \*\*Tools\*\* menu.
> 
> 🐛 The expected "\*\*Pico LittleFS Data Upload\*\*" menu item is missing.
> 
> \### Expected behavior
> 
> Support for extending the capabilities of Arduino IDE via external tools/plugins equivalent to the system provided by Arduino IDE 1.x.
> 
> \### Arduino IDE version
> 
> \#### Original report
> 
> 2.0.0-beta.1
> 
> \#### Last verified with
> 
> 2.0.2
> 
> \### Operating system
> 
> All
> 
> \### Operating system version
> 
> any
> 
> \### Additional context
> 
> \#### Additional reports
> 
> \- https://github.com/arduino/arduino-ide/issues/350
> \- https://github.com/arduino/arduino-ide/issues/239
> \- https://github.com/arduino/arduino-ide/issues/1931
> \- https://github.com/arduino/arduino-ide/issues/807
> \- https://github.com/me-no-dev/arduino-esp32fs-plugin/issues/30
> \- https://github.com/lorol/arduino-esp32fs-plugin/issues/8
> \- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/20
> \- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/21
> \- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/22
> \- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/25
> \- https://github.com/me-no-dev/EspExceptionDecoder/issues/85
> \- https://github.com/thingsboard/thingsboard-arduino-sdk/issues/107#issuecomment-1374437622
> \- https://forum.arduino.cc/t/exception-decoder/1055759/1
> \- https://forum.arduino.cc/t/exception-decoder/1055759/4
> \- https://forum.arduino.cc/t/exception-9-epc1-0x40100262-epc2-0x00000000-epc3-0x00000000-excvaddr-0xc010e109-depc-0x00000000/1054425/14
> \- https://forum.arduino.cc/t/esp-exception-decoder-for-arduino-2-0/1050587
> \- https://forum.arduino.cc/t/tool-menu-esp8266-littlefs-filesystem-uploader-not-displaying/1037055
> \- https://forum.arduino.cc/t/esp8266-sketch-data-upload/941933
> \- https://forum.arduino.cc/t/tools-for-arduino-ide-2-0-beta/894962
> \- https://forum.arduino.cc/t/ide-2-0-and-esp32-sketch-data-upload/904160
> \- https://forum.arduino.cc/t/add-tools-to-arduino-ide-2-0/893213
> \- https://forum.arduino.cc/t/ide-2-0-beta-10-not-yet-configurable-tools-menu/892980
> \- https://forum.arduino.cc/t/espexceptiondecoder-cant-be-found-in-tool-directory/876547
> \- https://forum.arduino.cc/t/nrf5-softdevice-flashing-tool/866336
> \- https://forum.arduino.cc/t/arduino-2-0-beta-no-ardublock/856338
> \- https://forum.arduino.cc/t/tools-directory-with-esp32fs-or-esp8266fs/703461
> \- https://forum.arduino.cc/t/tool-to-upload-data-to-spiffs-is-missing/699986
> \- https://forum.arduino.cc/t/how-to-install-plugin-in-linux/1120703
> \- https://forum.arduino.cc/t/decoding-abort-backtrace-help/1130283
> 
> \#### Related
> 
> \- https://github.com/arduino/arduino-ide/pull/1893
> \- https://github.com/arduino/arduino-ide/issues/406
> \- 
> 
> \### Issue checklist
> 
> \- \[X\] I searched for previous reports in \[the issue tracker\](https://github.com/arduino/arduino-ide/issues?q=)
> \- \[X\] I verified the problem still occurs when using the latest \[nightly build\](https://www.arduino.cc/en/software#nightly-builds)
> \- \[X\] My report contains all necessary details

There is actually some work in progress right now with the goal of resolving that deficiency. For example:

> <https://github.com/arduino/arduino-ide/pull/2071>
>
> \### Motivation
> 
> 
> To provide a way to implement external tools for the Arduino… IDE without modifying the IDE codebase. See #58.
> 
> This PR introduces a tiny layer of code to listen to Arduino context-related changes and set it on the VS Code \`workspaceState\`. Other VS Code extensions can import this new VSIX API and retrieve context information from the Arduino IDE—information such as the sketch path, FQBN of the currently selected board, etc. See https://github.com/dankeboy36/vscode-arduino-api for more details.
> 
> I have an \[ongoing\](https://github.com/dankeboy36/arduino-ide-esp-exception-decoder/compare/main...init) reference re-implementation of the ESP exception decoder. It works in the Arduino IDE. I did the reference implementation in Code and noticed that Theia has a few bugs, so the final implementation comes a bit later:
> 
> https://github.com/arduino/arduino-ide/assets/111981763/f26e40f0-07ad-46b9-ab15-1e9927b2468f
> 
> \### Change description
> 
> 
> \### Other information
> 
> 
> \### Reviewer checklist
> 
> \* \[\] PR addresses a single concern.
> \* \[\] The PR has no duplicates (please search among the \[Pull Requests\](https://github.com/arduino/arduino-ide/pulls) before creating one)
> \* \[\] PR title and description are properly filled.
> \* \[\] Docs have been added / updated (for bug fixes / features)

There is still a lot of work to do so the solutions I listed in my previous reply are what we have to work with now. But at least there is some hope of a future where tools like " **ESP8266 Sketch Data Upload**" can be added to Arduino IDE 2.x.

If you have a [**GitHub**](https://github.com/) account, you can subscribe to the issues above to get notifications of any new developments related to this subject.

---

<div class="post-metadata">

**Author:** ![GastonMelo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gastonmelo/32/239039_2.png) [@GastonMelo](https://forum.arduino.cc/u/GastonMelo)\
**Post date:** [May 24, 2023, 12:51pm UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840/5 "2023-05-24T12:51:55Z")

</div>

thanks for your answer!!  
Gastón

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [May 24, 2023, 7:45pm UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840/6 "2023-05-24T19:45:21Z")

</div>

You are welcome. I'm glad if I was able to be of assistance.

Regards,  
Per

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [November 20, 2023, 7:45pm UTC](https://forum.arduino.cc/t/ide-2-1-and-spiffs/1129840/7 "2023-11-20T19:45:32Z")

</div>

Closed on November 20, 2023, 7:45pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
