Commit Graph
19 Commits
Author SHA1 Message Date
Jiang Jiang Jian 474d57d858 Merge branch 'docs/clarify-storage-example-readmes_v6.0' into 'release/v6.0'
docs(storage): clarify example READMEs and when to use each (v6.0)

See merge request espressif/esp-idf!52038
2026-09-03 19:54:21 +08:00
sonika.rathi c7f7584c7f docs(storage): clarify example READMEs and when to use each
Update storage example docs so FATFS getting_started and wear_levelling
are clearly distinct, refresh the storage index paths, and add
"When to use this example" sections across storage examples.
2026-08-25 12:59:26 +02:00
Adam Múdry 109cd54902 feat(esp_partition): Add esp_partition_flash_binary() CMake function
Add a new CMake function esp_partition_flash_binary() that provides a
unified API for registering partition data binaries to be flashed. It
replaces the direct esptool_py_flash_target calls scattered across
components (spiffs, fatfs, nvs_flash) with a single function that:

- Resolves partition offset from the partition table automatically
- Determines encryption requirements (auto-detect or ALWAYS_PLAINTEXT)
- Creates per-partition flash targets (e.g. idf.py <partition>-flash)
- Optionally includes the binary in `idf.py flash` via FLASH_IN_PROJECT

On the linux target, the function registers binaries for pre-loading
into the emulated flash. A build-time manifest (linux_flash_data.txt)
is generated via file(GENERATE), and partition_linux.c reads it at
runtime to copy each binary into the memory-mapped flash buffer at
the correct offset.

The partition_ops example is updated to use the new function and
includes a custom_partition with pre-built data to demonstrate the
full workflow, including on the linux target.
2026-08-06 14:35:47 +02:00
Jiang Jiang Jian fd4f77c8e6 Merge branch 'bugfix/nvs-bootloader-pytest-app-log_v6.0' into 'release/v6.0'
test(nvs_bootloader): mark nvs bootloader pytest as flaky (v6.0)

See merge request espressif/esp-idf!48697
2026-06-29 15:31:13 +08:00
Jiang Guang Ming 6eb7f181a2 feat(mbedtls): enable ROM mbedTLS pytest with esp32c2 rev2.0 2026-05-25 10:07:47 +08:00
sonika.rathi 9dd56badbd test(nvs_bootloader): mark nvs bootloader pytest as flaky 2026-05-19 12:15:20 +02:00
sonika.rathi 1c01005ae1 fix(examples): add flaky reruns to nvs_rw_value pytest for CI flash 2026-05-13 13:35:08 +02:00
sonika.rathi 9535bbe976 fix(examples): hard-reset before nvs_bootloader pytest expectations 2026-04-29 10:26:27 +02:00
igor.udot e2a8bbe639 ci: update build-test-rules to use common_components 2026-03-20 15:53:26 +08:00
Ashish Sharma b02538834c fix: resolves MR comments 2025-12-20 23:02:25 +08:00
Ashish Sharma a088d2ccdc feat(mbedtls): fix build errors with PSA migration 2025-12-18 21:18:58 +08:00
Martin Havlik 6c23ddfe93 feat(examples/storage): Add NVS iteration example
Add a new example showcasing iterating over NVS entries
of a specific (or any) type, and the info to be obtained from therein.
2025-11-24 13:31:51 +01:00
Martin Havlik e3e92b8cbe feat(examples/storage): Add NVS statistics example
Add a new example showcasing how to obtain and interpret statistics
about the usage of an NVS partition.

Also demonstrates how stats change after writing some key-value pairs
in 2 separate namespaces.
2025-11-24 13:31:51 +01:00
morris cd41b6a640 refactor: remove unnecessary driver dependencies from build rules 2025-10-11 14:02:29 +08:00
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
sonika.rathi b077caeebc refactor(examples/storage): update document links 2025-04-03 14:21:11 +02:00
sonika.rathi f1ff9e1afc refactor(examples/storage): add nvs_console example 2025-04-03 12:39:20 +02:00
sonika.rathi 24065c6bbd refactor(examples/storage): update nvs_rw_blob and nvs_rw_value examples 2025-04-03 12:39:20 +02:00
sonika.rathi e4e56a4687 refactor(examples/storage): move all the nvs examples to 'examples/storeage/nvs' directory 2025-04-03 12:39:20 +02:00