forked from platformio/platformio-core
Improve explanation about "data" directory for SPIFFS // Issue #382
This commit is contained in:
@ -118,7 +118,8 @@ Uploading files to file system SPIFFS
|
|||||||
information first.
|
information first.
|
||||||
|
|
||||||
1. Initialise project :ref:`cmd_init` (if you have not initialized yet)
|
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.
|
3. Run target ``uploadfs`` using :option:`platformio run --target` command.
|
||||||
|
|
||||||
To upload SPIFFS image using OTA update please specify ``upload_port`` /
|
To upload SPIFFS image using OTA update please specify ``upload_port`` /
|
||||||
|
Reference in New Issue
Block a user