esp-idf/components/spiffs
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
..
include spiffs: clarify the usage of partition_label, fix the example 2019-12-23 18:20:14 +01:00
spiffs@f5e26c4e93 Fix typo in spiffs config and update submodule 2017-09-20 17:29:57 +08:00
test tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
test_spiffs_host Merge branch 'master' into feature/esp32s2beta_merge 2019-10-22 13:51:49 +11:00
CMakeLists.txt Merge branch 'master' into feature/esp32s2beta_merge 2019-10-17 18:22:08 +11:00
component.mk cmake: Add new compiler optimization levels definitions 2019-09-06 17:37:19 +08:00
esp_spiffs.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
Kconfig spiffs: follow symlinks feature during partition in spiffsgen 2019-10-08 17:55:59 +08:00
Makefile.projbuild spiffs: fix issue with args to spiffsgen in make 2019-10-22 11:35:19 +08:00
project_include.cmake spiffs: follow symlinks feature during partition in spiffsgen 2019-10-08 17:55:59 +08:00
spiffs_api.c Merge branch 'feature/idf-fs-profile-modifications' into 'master' 2018-07-25 08:56:04 +08:00
spiffs_api.h Modifications for fs profiling tool 2018-07-23 05:24:33 +00:00
spiffsgen.py spiffs: follow symlinks feature during partition in spiffsgen 2019-10-08 17:55:59 +08:00