Allow to upload SPIFFS image using OTA // Issue #382

This commit is contained in:
Ivan Kravets
2015-12-30 14:14:36 +02:00
parent 2d2ce0661f
commit 044486d46f
3 changed files with 24 additions and 23 deletions

View File

@@ -65,10 +65,17 @@ Uploading files to file system SPIFFS
1. Create :ref:`projectconf_pio_data_dir` and put files here
2. Run target ``uploadfs`` via :option:`platformio run --target` command.
To upload SPIFFS image using OTA update please specify ``upload_port`` /
``--upload-port`` as IP address. For the details please follow to
:ref:`platform_espressif_ota`. For example, ``platformio run -t uploadfs
--upload_port 192.168.0.255``.
By default, will be used default LD Script for the board where is specified
SPIFFS offsets (start, end, page, block). You can override it using
:ref:`platform_espressif_customflash`.
.. _platform_espressif_ota:
Over-the-Air (OTA) update
-------------------------