Skip to content

Commit

Permalink
Additional target "buildfs" to accompany "uploadfs" // Resolve #6
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Oct 3, 2016
1 parent 214f450 commit 3600ef6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ PlatformIO 3.0
* Development platform `Espressif 8266 <https://github.com/platformio/platform-espressif8266>`__

+ Add support for ESPrectro board
+ Additional target "buildfs" to accompany "uploadfs"
(`issue #6 <https://github.com/platformio/platform-espressif8266/issues/6>`__)

* Development platform `ST STM32 <https://github.com/platformio/platform-ststm32>`__

Expand Down
4 changes: 2 additions & 2 deletions docs/platforms/espressif8266_extra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ Uploading files to file system SPIFFS
Please make sure to read `ESP8266 Flash layout <https://github.com/esp8266/Arduino/blob/master/doc/filesystem.md#flash-layout>`_
information first.

1. Initialise project :ref:`cmd_init` (if you have not initialized yet)
1. Initialize project :ref:`cmd_init` (if you have not initialized yet)
2. Create ``data`` folder (it should be on the same level as ``src`` folder)
and put files here. Also, you can specify own location for :ref:`projectconf_pio_data_dir`
3. Run target ``uploadfs`` using :option:`platformio run --target` command.
3. Run ``buildfs`` or ``uploadfs`` target using :option:`platformio run --target` command.

To upload SPIFFS image using OTA update please specify ``upload_port`` /
``--upload-port`` as IP address or mDNS host name (ending with the ``*.local``).
Expand Down

0 comments on commit 3600ef6

Please sign in to comment.