ecee175962
Error handling in NVS initialization Previously nvs_flash_init worked under an assumption that there should always be at least one free page available. This is true during normal operation, but in some cases (such as when changing application partition table from a non-OTA to an OTA one), NVS partition may get truncated, which will cause empty pages to be lost. This MR adds error checks for this condition, and updates code which calls `nvs_flash_init` to check for the return code. For most examples, a simple `ESP_ERROR_CHECK` is added around `nvs_flash_init`. For NVS examples and the OTA example, more robust error handling is added. This change also removes nvs_flash_init calls from examples which don't use NVS. See merge request !582 |
||
---|---|---|
.. | ||
_static | ||
api | ||
security | ||
build-system.rst | ||
conf.py | ||
contributing.rst | ||
contributor-agreement.rst | ||
COPYRIGHT.rst | ||
core_dump.rst | ||
deep-sleep-stub.rst | ||
documenting-code.rst | ||
Doxyfile | ||
doxygen_xml_to_rst.xslt | ||
eclipse-setup-windows.rst | ||
eclipse-setup.rst | ||
esp32.cfg | ||
general-notes.rst | ||
idf-monitor.rst | ||
index.rst | ||
link-roles.py | ||
linux-setup.rst | ||
macos-setup.rst | ||
make-project.rst | ||
Makefile | ||
openocd.rst | ||
partition-tables.rst | ||
README.md | ||
repo_util.py | ||
requirements.txt | ||
style-guide.rst | ||
ulp.rst | ||
unit-tests.rst | ||
windows-setup.rst |
Documentation Source Folder
This folder contains source files of ESP-IDF documentation.
The sources do not render well in GitHub and some information is not visible at all.
Use actual documentation generated instantly on each commit:
- Main server: http://esp-idf.readthedocs.io/ or http://esp-idf.rtfd.io/
- Mirror: https://dl.espressif.com/doc/esp-idf/latest/