Improve explanation about "data" directory for SPIFFS // Issue #382

This commit is contained in:
Ivan Kravets
2016-04-13 12:40:43 +03:00
parent 582a1f744e
commit 9c15accbbb

View File

@ -118,7 +118,8 @@ Uploading files to file system SPIFFS
information first.
1. Initialise project :ref:`cmd_init` (if you have not initialized yet)
2. Create :ref:`projectconf_pio_data_dir` and put files here
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.
To upload SPIFFS image using OTA update please specify ``upload_port`` /