1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Minor FS documentation change from #2904 (#6563)

* Minor FS documentation change from #2904

Trivial addition to filesystem upload documentation.

Supercedes #2904 which cannot merge due to file renames and massive
changes to the filesystem.rst file since it was pushed.

* Fix periods on the steps, they are complete sentences
This commit is contained in:
Earle F. Philhower, III 2019-09-28 12:44:03 -07:00 committed by GitHub
parent 4f2cc1ccfc
commit c755771098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,16 +175,18 @@ use esptool.py.
- Download the tool: https://github.com/esp8266/arduino-esp8266fs-plugin/releases/download/0.4.0/ESP8266FS-0.4.0.zip - Download the tool: https://github.com/esp8266/arduino-esp8266fs-plugin/releases/download/0.4.0/ESP8266FS-0.4.0.zip
- In your Arduino sketchbook directory, create ``tools`` directory if - In your Arduino sketchbook directory, create ``tools`` directory if
it doesn't exist yet it doesn't exist yet.
- Unpack the tool into ``tools`` directory (the path will look like - Unpack the tool into ``tools`` directory (the path will look like
``<home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar``) ``<home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar``)
If upgrading, overwrite the existing JAR file with the newer version. If upgrading, overwrite the existing JAR file with the newer version.
- Restart Arduino IDE - Restart Arduino IDE.
- Open a sketch (or create a new one and save it) - Open a sketch (or create a new one and save it).
- Go to sketch directory (choose Sketch > Show Sketch Folder) - Go to sketch directory (choose Sketch > Show Sketch Folder).
- Create a directory named ``data`` and any files you want in the file - Create a directory named ``data`` and any files you want in the file
system there system there.
- Make sure you have selected a board, port, and closed Serial Monitor - Make sure you have selected a board, port, and closed Serial Monitor.
- If your board requires you to press a button (or other action) to enter
bootload mode for flashing a sketch, do that now.
- Select Tools > ESP8266 Sketch Data Upload. This should start - Select Tools > ESP8266 Sketch Data Upload. This should start
uploading the files into ESP8266 flash file system. When done, IDE uploading the files into ESP8266 flash file system. When done, IDE
status bar will display ``SPIFFS Image Uploaded`` message. status bar will display ``SPIFFS Image Uploaded`` message.