esp-idf/examples/storage
Marius Vikhammer fd6720c2e4 Merge branch 'fix/sdsdpi_example_esp32p4_add_ldo_config_v5.3' into 'release/v5.3'
fix(storage): Fix and update storage examples using SD cards for SoCs with SOC_SDMMC_IO_POWER_EXTERNAL 1 (ESP32-P4) (v5.3)

See merge request espressif/esp-idf!31029
2024-06-24 11:35:03 +08:00
..
custom_flash_driver ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
emmc fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
ext_flash_fatfs fix(storage): applied spelling fixes by codespell pre-commit hook 2024-03-28 13:00:54 +01:00
fatfsgen Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master' 2024-04-08 12:16:16 +08:00
littlefs ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
nvs_rw_blob feat(gpio): add gpio support on ESP32C5 MP version 2024-05-16 14:54:27 +08:00
nvs_rw_value ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
nvs_rw_value_cxx ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
nvsgen Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master' 2024-04-08 12:16:16 +08:00
partition_api Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master' 2024-04-08 12:16:16 +08:00
parttool ci(otatool): fix test failure caused due to closing connection incorrectly 2024-04-15 17:09:39 +05:30
perf_benchmark fix(storage): Fix SD card examples for SoCs with SOC_SDMMC_IO_POWER_EXTERNAL 1 2024-05-22 17:00:53 +02:00
sd_card fix(storage): Fix SD card examples for SoCs with SOC_SDMMC_IO_POWER_EXTERNAL 1 2024-05-22 17:00:53 +02:00
semihost_vfs ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
spiffs Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master' 2024-04-08 12:16:16 +08:00
spiffsgen Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master' 2024-04-08 12:16:16 +08:00
wear_levelling ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
.build-test-rules.yml Merge branch 'fix/sdsdpi_example_esp32p4_add_ldo_config_v5.3' into 'release/v5.3' 2024-06-24 11:35:03 +08:00
README.md fix(sd_card): update sd_card troubleshooting notes in readme.md 2023-10-25 11:19:08 +02:00

Storage Examples

Storage and management of user and system data in modules flash and on external memory / devices. This directory contains a range of examples ESP-IDF projects. These are intended to demonstrate the storage features, and to provide code that you can copy and adapt into your own projects.

Example Layout

The examples are grouped into sub-directories by category. Each category directory contains one or more example projects:

  • custom_flash_driver example demonstrates how to implement your own flash chip driver by overriding the default driver.
  • emmc example demonstrates how to use an eMMC chip with an ESP device.
  • ext_flash_fatfs example demonstrates how to use FATFS partition with external SPI FLASH chip.
  • fatfsgen example demonstrates how to use FATFS partition
  • nvs_rw_blob example demonstrates how to read and write a single integer value and a blob (binary large object) using NVS to preserve them between ESP module restarts.
  • nvs_rw_value example demonstrates how to read and write a single integer value using NVS.
  • nvs_rw_value_cxx example demonstrates how to read and write a single integer value using NVS (it uses the C++ NVS handle API).
  • partition_api examples demonstrate how to use different partition APIs.
  • parttool example demonstrates common operations the partitions tool allows the user to perform.
  • sd_card examples demonstrate how to use an SD card with an ESP device.
  • semihost_vfs example demonstrates how to use semihosting VFS driver with ESP device.
  • spiffs example demonstrates how to use SPIFFS with ESP device.
  • spiffsgen example demonstrates how to use the SPIFFS image generation tool spiffsgen.py to automatically create a SPIFFS.
  • wear_levelling example demonstrates how to use wear levelling library and FATFS library to store files in a partition inside SPI flash.

More

See the README.md file in the upper level examples directory for more information about examples.