Skip to content

Commit 21d212a

Browse files
Clarify LittleFS upload documentation (#1752)
1 parent bd6b20d commit 21d212a

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

docs/fs.rst

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,22 +75,28 @@ Uploading Files to the LittleFS File System
7575
menu item to **Tools** menu for uploading the contents of sketch data
7676
directory into a new LittleFS flash file system.
7777

78-
- Download the tool for your IDE version ( IDE 1.x: https://github.com/earlephilhower/arduino-pico-littlefs-plugin/releases , IDE 2.x: https://github.com/earlephilhower/arduino-littlefs-upload/releases )
79-
- In your Arduino sketchbook directory, create ``tools`` directory if
80-
it doesn't exist yet.
81-
- Unpack the tool into ``tools`` directory (the path will look like
82-
``<home_dir>/Arduino/tools/PicoLittleFS/tool/picolittlefs.jar``)
78+
**IDE 1.x**
79+
80+
- Download the tool: https://github.com/earlephilhower/arduino-pico-littlefs-plugin/releases
81+
- In your Arduino sketchbook directory, create ``tools`` directory if it doesn't exist yet.
82+
- Unpack the tool into ``tools`` directory (the path will look like ``<home_dir>/Arduino/tools/PicoLittleFS/tool/picolittlefs.jar``)
8383
If upgrading, overwrite the existing JAR file with the newer version.
8484
- Restart Arduino IDE.
8585
- Open a sketch (or create a new one and save it).
8686
- Go to sketch directory (choose Sketch > Show Sketch Folder).
87-
- Create a directory named ``data`` and any files you want in the file
88-
system there.
87+
- Create a directory named ``data`` and any files you want in the file system there.
8988
- Make sure you have selected a board, port, and closed Serial Monitor.
90-
- Double check theSerial Monitor is closed. Uploads will fail if the Serial
91-
Monitor has control of the serial port.
92-
- Select ``Tools > Pico LittleFS Data Upload``. This should start
93-
uploading the files into the flash file system.
89+
- Double check the Serial Monitor is closed. Uploads will fail if the Serial Monitor has control of the serial port.
90+
- Select ``Tools > Pico LittleFS Data Upload``. This should start uploading the files into the flash file system.
91+
92+
**IDE 2.x**
93+
94+
- Download the new tool: https://github.com/earlephilhower/arduino-littlefs-upload/releases
95+
- Exit the IDE, if running
96+
- Copy the VSIX file manually to (Linux/Mac) ``~/.arduinoIDE/plugins/`` (you may need to make this directory yourself beforehand) or to (Windows) ``C:\Users\<username>\.arduinoIDE\``
97+
- Restart the IDE
98+
- Double check the Serial Monitor is closed. Uploads will fail if the Serial Monitor has control of the serial port.
99+
- Enter ``[Ctrl]`` + ``[Shift]`` + ``[P]`` to bring up the command palette, then select/type ``Upload LittleFS to Pico/ESP8266``
94100

95101
SD Library Information
96102
----------------------

0 commit comments

Comments
 (0)