esp-idf/examples/storage/spiffs/main
Ivan Grokhotkov 750818de72 spiffs: clarify the usage of partition_label, fix the example
* If esp_vfs_spiffs_register is called with an explicit partition
  label, other SPIFFS functions (info, format, unregister) must be
  called with the same label.

* On the other hand, if label was NULL in the call to
  esp_vfs_spiffs_register and the first matching partition was used,
  calls to the rest of the SPIFFS functions should be done with NULL
  partition_label argument.

Fix the Doxygen documentation. Update the example accordingly, in case
a user modifies "partition_label" value in esp_vfs_spiffs_conf_t conf
initializer.

Closes https://github.com/espressif/esp-idf/issues/4450
2019-12-23 18:20:14 +01:00
..
CMakeLists.txt examples: use new component registration api 2019-06-21 19:53:29 +08:00
component.mk Add SPIFFS Component to IDF 2017-09-11 19:56:40 +03:00
spiffs_example_main.c spiffs: clarify the usage of partition_label, fix the example 2019-12-23 18:20:14 +01:00